|
GoPxL SDK
|
Interface for all control channel implementations.
Currently only implemented by GoCtrlChannelV1.

Public Member Functions | |
| virtual void | Connect (const kIpAddress &address, k16u port, k64u connectionTimeout=GO_PXL_SDK_DEFAULT_TCP_TIMEOUT_MILLISECONDS)=0 |
| Connects to the server. More... | |
| virtual void | Disconnect ()=0 |
| Disconnects from the server. More... | |
| virtual bool | IsConnected () const =0 |
| Checks if connected to the server. More... | |
| virtual void | SendRequest (const GoRequest &request)=0 |
| Sends a request according to the implemented carrier protocol. More... | |
| virtual void | SetReadErrorHandler (GoCtrlChannelReadErrorHandler callback)=0 |
| Sets a callback to receive exceptions from the read thread. More... | |
| virtual void | SetResponseHandler (GoCtrlChannelResponseHandler callback)=0 |
| Sets a callback to receive responses from the server, using the implemented carrier protocol. More... | |
| virtual void | SetWriteErrorHandler (GoCtrlChannelWriteErrorHandler callback)=0 |
| Sets a callback to receive exceptions from the write thread. More... | |
| virtual | ~GoCtrlChannel ()=default |
| Constructs GoCtrlChannel. More... | |