|
| | ExternalServiceSession (ExternalServiceAdapter &service, int clientId, int sessionId, MessageDispatcher *dispatcher, const string &instanceName) |
| | Constructor. More...
|
| |
| bool | transmitToSession (const MessagePackage &message) |
| | Transmits a message to this session. More...
|
| |
| | AbstractSession (const string &interfaceId, int clientId, int sessionId, MessageDispatcher *dispatcher) |
| | Constructor. More...
|
| |
| MessageSubscriptionToken | addMessageSubscription (const string &messageType, MessageReceivedFunction function) |
| | Subscribe all messages of type. More...
|
| |
| void | changeMessageDispatcher (MessageDispatcher *dispatcher) |
| | Changes message dispatcher on the fly. More...
|
| |
| void | enableVerboseLogging (bool enable) |
| | Enables verbose logging for the functionality. More...
|
| |
| ClientDescriptorSharedPtr | getClientDescriptor () const |
| | Retrieve client descriptor. More...
|
| |
| int | getClientId () const |
| | Retrieve client id of the session. More...
|
| |
| int | getId () const |
| | Retrieve id of the session. More...
|
| |
| const string & | getInterfaceId () const |
| | Retrieve id of the interface. More...
|
| |
| int | getServerClientId () const |
| | Retrieve server client identifier of the session. More...
|
| |
| const ServiceAttributes & | getServiceAttributes () |
| |
| virtual void | initialize () |
| | Initializes this session. More...
|
| |
| void | receive (const MessagePackage &message) |
| | Asks session to process received message. More...
|
| |
| void | removeMessageSubscription (const string &messageType, MessageSubscriptionToken token) |
| | Remove message subscription. More...
|
| |
| void | setClientDescriptor (ClientDescriptorSharedPtr clientDescriptor) |
| | Saves a client descriptor of the client who created this session. More...
|
| |
| void | setClientP2PRoutingInstructions (shared_ptr< p2p::P2PClient::RoutingHandler > routingHandler) |
| | Configure P2P routing instructions for the client. More...
|
| |
| void | setGenericInvoker (GenericInvoker *invoker) |
| | Setups generic invocation mechanism. More...
|
| |
| void | setServerClientId (int id) |
| | Sets servers identifier of the client this session belongs to. More...
|
| |
| void | setServerP2PRouter (p2p::P2PServerSharedPtr serverRouter) |
| | Configure P2P routing for server scope. More...
|
| |
| void | terminate () |
| | Terminates the session. More...
|
| |
| bool | transmit (const MessagePackage &message) |
| | Sends outgoing message to network. More...
|
| |
| bool | transmit (MessagePackageSharedPtr message, uint32_t call_handle=0) |
| | Sends outgoing message to network. More...
|
| |
| virtual void | uninitialize () |
| | Un-initializes this session. More...
|
| |
| void | updateEnabledState (bool newEnabledState) |
| | Update the enabled state of this session. More...
|
| |
| virtual | ~AbstractSession () |
| | Destructor. More...
|
| |
External service session implementation.