Overview | Namespace | Class | Index | Help |
remote_contextListenerFunc | listener, |
void * | pObject ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Registers a listener at the context administration, which allows to keep track of existing remote connections.
pObject | object which is handed to the listener function, when called. |
remote_Connection * | pConnection, |
rtl_uString * | pIdStr, |
rtl_uString * | pDescription, |
rtl_uString * | pProtocol, |
remote_InstanceProvider * | ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Create an acquired remote context. The Context is weakly held by the context administration and can be accessed later through remote_getContext() (using the same id-string).
pIdString | A string, that uniquely describes the connection. For e.g. a socket connection, host and port of the local and remote host should be in the string. |
pDescription | Description of the connection, that may brought up to the user. |
pProtocol | The protocol, that the environment uses for communicating with the remote process. The format of the protocol string is : "protocolname,para1=para1value,..." |
0, when a context with this name already exists.
rtl_uString * | pIdString ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Try to get an existing context characterized by the pIdString. Each ID-String must uniquely charcterize a certain connection. The context can't be retrieved via this function anymore, after it got disposed.
0 when such a context does not exist, otherwise a pointer to an acquired remote_Context.
remote_contextListenerFunc | listener, |
void * | pObject ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
Removes a listener from the context administration.
Copyright © 2003 Sun Microsystems, Inc.