Diarkis C++Client Library API Document
Diarkis::DiarkisPushEventArgs Struct Reference

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 ()
 

Detailed Description

Argument of the callback event called when a UDP or TCP Push is received.

Constructor & Destructor Documentation

◆ DiarkisPushEventArgs() [1/3]

Diarkis::DiarkisPushEventArgs::DiarkisPushEventArgs ( uint8_t  version,
uint16_t  command,
const StdVector< uint8_t > &  payload,
const bool  reliable 
)

◆ DiarkisPushEventArgs() [2/3]

Diarkis::DiarkisPushEventArgs::DiarkisPushEventArgs ( DiarkisPushEventArgs )
delete

◆ DiarkisPushEventArgs() [3/3]

Diarkis::DiarkisPushEventArgs::DiarkisPushEventArgs ( DiarkisPushEventArgs &&  )
delete

◆ ~DiarkisPushEventArgs()

Diarkis::DiarkisPushEventArgs::~DiarkisPushEventArgs ( )

Member Function Documentation

◆ GetVersion()

uint8_t Diarkis::DiarkisPushEventArgs::GetVersion ( ) const

Get the command version.

Here is the caller graph for this function:

◆ GetCommand()

uint16_t Diarkis::DiarkisPushEventArgs::GetCommand ( ) const

コマンドIDを取得する

~@japanese

Get the command id

Here is the caller graph for this function:

◆ GetPayload()

const StdVector<uint8_t>& Diarkis::DiarkisPushEventArgs::GetPayload ( ) const

Get the received payload.

Here is the caller graph for this function:

◆ IsReliable()

bool Diarkis::DiarkisPushEventArgs::IsReliable ( ) const

Whether or not the communication was RUDP.

Here is the caller graph for this function:

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