ExternalServiceSession¶
-
class
kanzi::connect
::
ExternalServiceSession
: public AbstractSession¶ External service session implementation.
Public Functions
-
ExternalServiceSession
(ExternalServiceAdapter &service, int clientId, int sessionId, MessageDispatcher *dispatcher, const string &instanceName)¶ Constructor.
- Parameters
service
: the service owning this sessionclientId
: the client identifier/handlesessionId
: Session identifier/handleinstanceName
: name of the instance.
-
bool
transmitToSession
(const MessagePackage &message)¶ Transmits a message to this session.
- Parameters
message
: the message to transmit
-