State
Definition: rpc_connection.h:34
RpcConnection::MessageFrame sendFrame
Definition: rpc_connection.h:48
void Close()
Definition: rpc_connection.cpp:64
Definition: connection.h:11
uint32_t length
Definition: rpc_connection.h:27
bool Write(const void *data, size_t length)
Definition: rpc_connection.cpp:73
Definition: rpc_connection.h:25
void(* onDisconnect)(int errorCode, const char *message)
Definition: rpc_connection.h:44
constexpr size_t MaxRpcFrameSize
Definition: rpc_connection.h:8
ErrorCode
Definition: rpc_connection.h:11
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
Definition: rpc_connection.h:10
bool IsOpen() const
Definition: rpc_connection.h:53
Opcode
Definition: rpc_connection.h:17
char appId[64]
Definition: rpc_connection.h:45
GLenum GLuint GLenum GLsizei const GLchar * message
Definition: glext.h:6233
Opcode opcode
Definition: rpc_connection.h:26
void Open()
Definition: rpc_connection.cpp:23
Definition: serialization.h:160
int lastErrorCode
Definition: rpc_connection.h:46
bool Read(JsonDocument &message)
Definition: rpc_connection.cpp:85
static void Destroy(RpcConnection *&)
Definition: rpc_connection.cpp:16
State state
Definition: rpc_connection.h:42
char lastErrorMessage[256]
Definition: rpc_connection.h:47
BaseConnection * connection
Definition: rpc_connection.h:41
static RpcConnection * Create(const char *applicationId)
Definition: rpc_connection.cpp:9
void(* onConnect)(JsonDocument &message)
Definition: rpc_connection.h:43
GLenum GLuint GLenum GLsizei length
Definition: glext.h:6233
Definition: rpc_connection.h:30
unsigned int uint32_t
Definition: stdint.h:126