Open Lighting Architecture
Latest Git
|
A templatized ClientWrapper.
Public Member Functions | |
GenericClientWrapper (bool auto_start=true) | |
ClientClass * | GetClient () const |
Return the underlying client object. | |
Public Member Functions inherited from ola::client::BaseClientWrapper | |
void | SetCloseCallback (CloseCallback *callback) |
Set the callback to be run when the client socket is closed. More... | |
ola::io::SelectServer * | GetSelectServer () |
Get the SelectServer used by this client. More... | |
bool | Setup () |
Setup the client. More... | |
bool | Cleanup () |
Reset the connection to the server. More... | |
void | SocketClosed () |
Called internally when the client socket is closed. | |
Additional Inherited Members | |
Public Types inherited from ola::client::BaseClientWrapper | |
typedef Callback0< void > | CloseCallback |
Protected Attributes inherited from ola::client::BaseClientWrapper | |
std::auto_ptr< ola::network::TCPSocket > | m_socket |