All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | List of all members
LxS::Network::Client Class Reference

generalized network client More...

#include <client.hpp>

Inheritance diagram for LxS::Network::Client:
Inheritance graph
Collaboration diagram for LxS::Network::Client:
Collaboration graph

Public Member Functions

 Client ()
void ClearError ()
 clear error record (internal for this client class object)
bool HasError ()
 if internal error record has any error message recorded
std::string GetLastError ()
 get last error Note: you can get more than one error by using while (client::HasError) { client::GetLastError }
void SetTCPPort (int p)
 set TCP port on which to connect to remote server
int GetTCPPort ()
 get tcp port
void StopClient ()
 stop client thread
std::string GetAddress ()
 retrieve configured IP address
void SetAddress (std::string addr)
 configure address
void StartClient ()
 start client thread
void SendCommand (Command *cmd)
 send message over the protocol
bool CommandReceived ()
 has received message?
CommandRecvCommand ()
 get received message
bool IsConnected ()
 is activated
bool IsWorking ()
 is actively trying to connect or sending or receiving something

Detailed Description

generalized network client

The documentation for this class was generated from the following files: