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

Arguments of the callback event called when created a room. More...

#include <eventArgs.h>

Public Member Functions

bool IsSuccess () const
 Get whether the command was successful or not. More...
 
const Diarkis::StdStringGetRoomID () const
 Get the room ID. More...
 
uint32_t GetCreationTime () const
 Get the time the room created. More...
 
uint16_t GetErrorCode () const
 Get error code. More...
 
const Diarkis::StdStringGetErrorMessage () const
 Gets the contents of the error. More...
 
 DiarkisRoomCreationEventArgs (bool isSuccess, const Diarkis::StdString &id, uint32_t creationTime, uint16_t errorCode, const Diarkis::StdString &errorString)
 
 DiarkisRoomCreationEventArgs (DiarkisRoomCreationEventArgs &)=delete
 
 DiarkisRoomCreationEventArgs (DiarkisRoomCreationEventArgs &&)=delete
 

Detailed Description

Arguments of the callback event called when created a room.

Constructor & Destructor Documentation

◆ DiarkisRoomCreationEventArgs() [1/3]

Diarkis::DiarkisRoomCreationEventArgs::DiarkisRoomCreationEventArgs ( bool  isSuccess,
const Diarkis::StdString id,
uint32_t  creationTime,
uint16_t  errorCode,
const Diarkis::StdString errorString 
)

◆ DiarkisRoomCreationEventArgs() [2/3]

Diarkis::DiarkisRoomCreationEventArgs::DiarkisRoomCreationEventArgs ( DiarkisRoomCreationEventArgs )
delete

◆ DiarkisRoomCreationEventArgs() [3/3]

Diarkis::DiarkisRoomCreationEventArgs::DiarkisRoomCreationEventArgs ( DiarkisRoomCreationEventArgs &&  )
delete

Member Function Documentation

◆ IsSuccess()

bool Diarkis::DiarkisRoomCreationEventArgs::IsSuccess ( ) const

Get whether the command was successful or not.

true=success false=failure

Here is the caller graph for this function:

◆ GetRoomID()

const Diarkis::StdString& Diarkis::DiarkisRoomCreationEventArgs::GetRoomID ( ) const

Get the room ID.

Here is the caller graph for this function:

◆ GetCreationTime()

uint32_t Diarkis::DiarkisRoomCreationEventArgs::GetCreationTime ( ) const

Get the time the room created.

Here is the caller graph for this function:

◆ GetErrorCode()

uint16_t Diarkis::DiarkisRoomCreationEventArgs::GetErrorCode ( ) const

Get error code.

Return 0 if IsSuccess()=true.

Here is the caller graph for this function:

◆ GetErrorMessage()

const Diarkis::StdString& Diarkis::DiarkisRoomCreationEventArgs::GetErrorMessage ( ) const

Gets the contents of the error.

Here is the caller graph for this function:

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