ClientSocketConnectionAdapter¶
-
class
kanzi::connect::ClientSocketConnectionAdapter: public ClientConnectionAdapter¶ A class that implements connection adapter for TCP-IP transport type.
Public Functions
-
ClientSocketConnectionAdapter(int socketType)¶ Constructor.
- Parameters
socketType: Sets the type of the socket to be created (either streaming or datagram).
-
~ClientSocketConnectionAdapter () KZ_OVERRIDE Destructor.
-
bool configure (const ClientConnectionAdapter::Parameters ¶meters) KZ_OVERRIDE See ConnectionAdapter::configure.
-
bool connect () KZ_OVERRIDE See ConnectionAdapter::connect.
-
void disconnect () KZ_OVERRIDE See ConnectionAdapter::disconnect.
-
string getState (const string ¶meter) KZ_OVERRIDE See ConnectionAdapter::getState.
-
void interrupt () KZ_OVERRIDE See ConnectionAdapter::interrupt.
-
int wait () KZ_OVERRIDE See ConnectionAdapter::wait.
-
void work (int status) KZ_OVERRIDE See ConnectionAdapter::work.
Public Static Attributes
-
const string
PARAMETER_HOST_IP¶ Configuration parameter for server ip address.
-
const string
PARAMETER_HOST_PORT¶ Configuration parameter for server port.
-
const string
STATE_IP¶ State parameter to read adapter ip address back.
-
const string
STATE_PORT¶ State parameter to read adapter port back.
-