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

Arguments of the callback event called when room migration competed. 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...
 
uint16_t GetErrorCode () const
 Get error code. More...
 
const Diarkis::StdStringGetErrorMessage () const
 Gets the contents of the error. More...
 
 DiarkisRoomMigrateCompleteEventArgs (bool isSuccess, const Diarkis::StdString &id, uint16_t errorCode, const Diarkis::StdString &errorString)
 
 DiarkisRoomMigrateCompleteEventArgs (DiarkisRoomMigrateCompleteEventArgs &)=delete
 
 DiarkisRoomMigrateCompleteEventArgs (DiarkisRoomMigrateCompleteEventArgs &&)=delete
 

Detailed Description

Arguments of the callback event called when room migration competed.

Constructor & Destructor Documentation

◆ DiarkisRoomMigrateCompleteEventArgs() [1/3]

Diarkis::DiarkisRoomMigrateCompleteEventArgs::DiarkisRoomMigrateCompleteEventArgs ( bool  isSuccess,
const Diarkis::StdString id,
uint16_t  errorCode,
const Diarkis::StdString errorString 
)

◆ DiarkisRoomMigrateCompleteEventArgs() [2/3]

Diarkis::DiarkisRoomMigrateCompleteEventArgs::DiarkisRoomMigrateCompleteEventArgs ( DiarkisRoomMigrateCompleteEventArgs )
delete

◆ DiarkisRoomMigrateCompleteEventArgs() [3/3]

Diarkis::DiarkisRoomMigrateCompleteEventArgs::DiarkisRoomMigrateCompleteEventArgs ( DiarkisRoomMigrateCompleteEventArgs &&  )
delete

Member Function Documentation

◆ IsSuccess()

bool Diarkis::DiarkisRoomMigrateCompleteEventArgs::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::DiarkisRoomMigrateCompleteEventArgs::GetRoomID ( ) const

Get the room ID.

Here is the caller graph for this function:

◆ GetErrorCode()

uint16_t Diarkis::DiarkisRoomMigrateCompleteEventArgs::GetErrorCode ( ) const

Get error code.

Return 0 if IsSuccess()=true.

Here is the caller graph for this function:

◆ GetErrorMessage()

const Diarkis::StdString& Diarkis::DiarkisRoomMigrateCompleteEventArgs::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: