![]() |
Diarkis C++Client Library API Document
|
Argument of the callback event called when a UDP or TCP Push is received. More...
#include <eventArgs.h>
Public Member Functions | |
| uint8_t | GetVersion () const |
| Get the command version. More... | |
| uint16_t | GetCommand () const |
| コマンドIDを取得する More... | |
| const StdVector< uint8_t > & | GetPayload () const |
| Get the received payload. More... | |
| bool | IsReliable () const |
| Whether or not the communication was RUDP. More... | |
| DiarkisPushEventArgs (uint8_t version, uint16_t command, const StdVector< uint8_t > &payload, const bool reliable) | |
| DiarkisPushEventArgs (DiarkisPushEventArgs &)=delete | |
| DiarkisPushEventArgs (DiarkisPushEventArgs &&)=delete | |
| ~DiarkisPushEventArgs () | |
Argument of the callback event called when a UDP or TCP Push is received.
| Diarkis::DiarkisPushEventArgs::DiarkisPushEventArgs | ( | uint8_t | version, |
| uint16_t | command, | ||
| const StdVector< uint8_t > & | payload, | ||
| const bool | reliable | ||
| ) |
|
delete |
|
delete |
| Diarkis::DiarkisPushEventArgs::~DiarkisPushEventArgs | ( | ) |
| uint8_t Diarkis::DiarkisPushEventArgs::GetVersion | ( | ) | const |
Get the command version.

| uint16_t Diarkis::DiarkisPushEventArgs::GetCommand | ( | ) | const |
コマンドIDを取得する
~@japanese
Get the command id

| const StdVector<uint8_t>& Diarkis::DiarkisPushEventArgs::GetPayload | ( | ) | const |
Get the received payload.

| bool Diarkis::DiarkisPushEventArgs::IsReliable | ( | ) | const |
Whether or not the communication was RUDP.
