GoPxL SDK
GoPxLSdk::GoCtrlChannelV1 Class Reference
Inheritance diagram for GoPxLSdk::GoCtrlChannelV1:
Inheritance graph

Public Member Functions

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

Friends

class ::GoCtrlChannelV1Tests
 

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