![]() |
![]() |
e-docs > Tuxedo > Administering a Tuxedo Application at Run Time > CORBA API |
Administering a Tuxedo Application at Run Time
|
Synopsis
Sets the values for given attributes in the Context object.
C++ Binding
void CORBA::Context::set_values (
CORBA::NVList_ptr AttrValue);
Argument
Exceptions
CORBA::BAD_PARAM if any of the attribute values has a value that is not a string type.
CORBA::NO_MEMORY if dynamic memory allocation failed.
Description
This member function sets the values for given attributes in the Context object. The CORBA::NVList member function contains the property name and value pairs to be set.
Return Values
None.
See Also
CORBA::Context::get_values
CORBA::Context::set_one_value
ContextList Member Functions
The ContextList allows a client or server application to provide a list of context strings that must be supplied with Request invocation. For a description of the Request member functions, see the section "Request Member Functions" on page 14-123.
The ContextList differs from the Context in that the former supplies only the context strings whose values are to be looked up and sent with the request invocation (if applicable), while the latter is where those values are obtained. For a description of the Context member functions, see the section Context Member Functions.
The mapping of these member functions to C++ is as follows:
class CORBA
{
class ContextList
{
public:
Ulong count ();
void add(const char* ctxt);
void add_consume(char* ctxt);
const char* item(Ulong index);
Status remove(Ulong index);
}; // ContextList
}// CORBA
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |