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

Arguments of the callback event called when a P2P is disconnected. More...

#include <eventArgs.h>

Public Member Functions

const Diarkis::StdStringGetUID () const
 Get user ID of the peer. More...
 
const Diarkis::StdStringGetUnresolvedAddress () const
 Get unresolved address of the peer. More...
 
const Diarkis::StdStringGetResolvedAddress () const
 Get resolved address of the peer. More...
 
uint16_t GetPort () const
 Get the port number of the peer. More...
 
 DiarkisP2PDisconnectEventArgs (const Diarkis::StdString &uid, const Diarkis::StdString &unresolvedAddress, const Diarkis::StdString &resolvedAddress, uint16_t port)
 
 DiarkisP2PDisconnectEventArgs (DiarkisP2PDisconnectEventArgs &)=delete
 
 DiarkisP2PDisconnectEventArgs (DiarkisP2PDisconnectEventArgs &&)=delete
 

Detailed Description

Arguments of the callback event called when a P2P is disconnected.

Constructor & Destructor Documentation

◆ DiarkisP2PDisconnectEventArgs() [1/3]

Diarkis::DiarkisP2PDisconnectEventArgs::DiarkisP2PDisconnectEventArgs ( const Diarkis::StdString uid,
const Diarkis::StdString unresolvedAddress,
const Diarkis::StdString resolvedAddress,
uint16_t  port 
)

◆ DiarkisP2PDisconnectEventArgs() [2/3]

Diarkis::DiarkisP2PDisconnectEventArgs::DiarkisP2PDisconnectEventArgs ( DiarkisP2PDisconnectEventArgs )
delete

◆ DiarkisP2PDisconnectEventArgs() [3/3]

Diarkis::DiarkisP2PDisconnectEventArgs::DiarkisP2PDisconnectEventArgs ( DiarkisP2PDisconnectEventArgs &&  )
delete

Member Function Documentation

◆ GetUID()

const Diarkis::StdString& Diarkis::DiarkisP2PDisconnectEventArgs::GetUID ( ) const

Get user ID of the peer.

Here is the caller graph for this function:

◆ GetUnresolvedAddress()

const Diarkis::StdString& Diarkis::DiarkisP2PDisconnectEventArgs::GetUnresolvedAddress ( ) const

Get unresolved address of the peer.

Here is the caller graph for this function:

◆ GetResolvedAddress()

const Diarkis::StdString& Diarkis::DiarkisP2PDisconnectEventArgs::GetResolvedAddress ( ) const

Get resolved address of the peer.

Here is the caller graph for this function:

◆ GetPort()

uint16_t Diarkis::DiarkisP2PDisconnectEventArgs::GetPort ( ) const

Get the port number of the peer.

Here is the caller graph for this function:

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