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
()¶ Destructor.
-
bool
configure
(const ClientConnectionAdapter::Parameters ¶meters)¶ See ConnectionAdapter::configure.
-
bool
connect
()¶ See ConnectionAdapter::connect.
-
void
disconnect
()¶ See ConnectionAdapter::disconnect.
-
string
getParameter
(const string ¶meter)¶ See ConnectionAdapter::getParameter.
-
string
getState
(const string ¶meter)¶ See ConnectionAdapter::getState.
-
void
interrupt
()¶ See ConnectionAdapter::interrupt.
-
int
wait
()¶ See ConnectionAdapter::wait.
-
void
work
(int status)¶ 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.
-