![]() |
Diarkis C++Client Library API Document
|
Argument of the callback event called when a UDP or TCP Response is received. More...
#include <eventArgs.h>
Public Member Functions | |
uint8_t | GetVersion () const |
Get the command version. More... | |
uint16_t | GetCommand () const |
Get the command id. More... | |
uint8_t | GetStatus () const |
Get the result of the command. More... | |
const StdVector< uint8_t > & | GetPayload () const |
Get the received payload. More... | |
bool | IsReliable () const |
Whether or not the communication was RUDP. More... | |
DiarkisResponseEventArgs (uint8_t version, uint16_t command, uint8_t status, const StdVector< uint8_t > &payload, const bool reliable) | |
DiarkisResponseEventArgs (DiarkisResponseEventArgs &)=delete | |
DiarkisResponseEventArgs (DiarkisResponseEventArgs &&)=delete | |
~DiarkisResponseEventArgs () | |
Argument of the callback event called when a UDP or TCP Response is received.
Diarkis::DiarkisResponseEventArgs::DiarkisResponseEventArgs | ( | uint8_t | version, |
uint16_t | command, | ||
uint8_t | status, | ||
const StdVector< uint8_t > & | payload, | ||
const bool | reliable | ||
) |
|
delete |
|
delete |
Diarkis::DiarkisResponseEventArgs::~DiarkisResponseEventArgs | ( | ) |
uint8_t Diarkis::DiarkisResponseEventArgs::GetVersion | ( | ) | const |
Get the command version.
uint16_t Diarkis::DiarkisResponseEventArgs::GetCommand | ( | ) | const |
Get the command id.
uint8_t Diarkis::DiarkisResponseEventArgs::GetStatus | ( | ) | const |
Get the result of the command.
const StdVector<uint8_t>& Diarkis::DiarkisResponseEventArgs::GetPayload | ( | ) | const |
Get the received payload.
bool Diarkis::DiarkisResponseEventArgs::IsReliable | ( | ) | const |
Whether or not the communication was RUDP.