![]() |
Open Lighting Architecture 0.10.9
|
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. | |
| ola::io::SelectServer * | GetSelectServer () |
| Get the SelectServer used by this client. | |
| bool | Setup () |
| Setup the client. | |
| bool | Cleanup () |
| Reset the connection to the server. | |
| 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 |