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 session

  • clientId: the client identifier/handle

  • sessionId: Session identifier/handle

  • instanceName: name of the instance.

bool transmitToSession(const MessagePackage &message)

Transmits a message to this session.

Parameters
  • message: the message to transmit