9 #ifndef GO_PXL_SDK_GOCTRLCHANNEL_H
10 #define GO_PXL_SDK_GOCTRLCHANNEL_H
13 #include <kApi/Io/kNetwork.h>
14 #include <kApi/kApiDef.h>
64 virtual void Connect(
const kIpAddress& address, k32u port,
73 virtual void Disconnect() = 0;
82 virtual bool IsConnected()
const = 0;
94 virtual void SendRequest(
const GoRequest& request) = 0;
std::function< void(const std::shared_ptr< GoResponse > response)> GoCtrlChannelResponseHandler
Function to receive responses from the server asynchronously.
Definition: GoCtrlChannel.h:32
#define GoPxLSdkClass
Definition: Def.h:35
GoCtrlChannelErrorType
Definition: GoCtrlChannel.h:23
Interface for all control channel implementations.
Definition: GoCtrlChannel.h:43
constexpr k32u GO_PXL_SDK_DEFAULT_TCP_TIMEOUT_MILLISECONDS
Definition: Def.h:38
Definition: GoRequest.h:21
Declares the general SDK definitions.
std::function< void(GoCtrlChannelErrorType type, k64u id, const std::exception &e)> GoCtrlChannelErrorHandler
Function to receive read / write thread errors.
Definition: GoCtrlChannel.h:37