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

Arguments of the callback event called when an UDP Echo is received. More...

#include <eventArgs.h>

Public Member Functions

uint32_t GetRoundTripMs () const
 Get round-trip time (ms) More...
 
const Diarkis::StdStringGetClientAddress () const
 Get the client's global IP address. More...
 
 DiarkisUdpEchoEventArgs (uint32_t roundTripMs_, const Diarkis::StdString &clientAddress_)
 
 DiarkisUdpEchoEventArgs (DiarkisUdpEchoEventArgs &)=delete
 
 DiarkisUdpEchoEventArgs (DiarkisUdpEchoEventArgs &&)=delete
 
 ~DiarkisUdpEchoEventArgs ()
 

Detailed Description

Arguments of the callback event called when an UDP Echo is received.

Constructor & Destructor Documentation

◆ DiarkisUdpEchoEventArgs() [1/3]

Diarkis::DiarkisUdpEchoEventArgs::DiarkisUdpEchoEventArgs ( uint32_t  roundTripMs_,
const Diarkis::StdString clientAddress_ 
)

◆ DiarkisUdpEchoEventArgs() [2/3]

Diarkis::DiarkisUdpEchoEventArgs::DiarkisUdpEchoEventArgs ( DiarkisUdpEchoEventArgs )
delete

◆ DiarkisUdpEchoEventArgs() [3/3]

Diarkis::DiarkisUdpEchoEventArgs::DiarkisUdpEchoEventArgs ( DiarkisUdpEchoEventArgs &&  )
delete

◆ ~DiarkisUdpEchoEventArgs()

Diarkis::DiarkisUdpEchoEventArgs::~DiarkisUdpEchoEventArgs ( )

Member Function Documentation

◆ GetRoundTripMs()

uint32_t Diarkis::DiarkisUdpEchoEventArgs::GetRoundTripMs ( ) const

Get round-trip time (ms)

Here is the caller graph for this function:

◆ GetClientAddress()

const Diarkis::StdString& Diarkis::DiarkisUdpEchoEventArgs::GetClientAddress ( ) const

Get the client's global IP address.

Here is the caller graph for this function:

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