![]() |
Diarkis C++Client Library API Document
|
Arguments of the callback event called when received Session Create response. More...
#include <eventArgs.h>
Public Member Functions | |
bool | IsSuccess () const |
Get whether the command was successful or not. More... | |
uint8_t | GetSessionType () const |
Get the session type. More... | |
const Diarkis::StdString & | GetSessionID () const |
Get the session ID. More... | |
uint16_t | GetErrorCode () const |
Get error code. More... | |
const StdString & | GetErrorMessage () const |
Gets the contents of the error. More... | |
DiarkisSessionCreateResponseEventArgs (bool isSuccess, uint8_t sessionType, const Diarkis::StdString &sessionID, uint16_t errCode, const Diarkis::StdString &errString) | |
DiarkisSessionCreateResponseEventArgs (DiarkisSessionCreateResponseEventArgs &)=delete | |
DiarkisSessionCreateResponseEventArgs (DiarkisSessionCreateResponseEventArgs &&)=delete | |
Arguments of the callback event called when received Session Create response.
Diarkis::DiarkisSessionCreateResponseEventArgs::DiarkisSessionCreateResponseEventArgs | ( | bool | isSuccess, |
uint8_t | sessionType, | ||
const Diarkis::StdString & | sessionID, | ||
uint16_t | errCode, | ||
const Diarkis::StdString & | errString | ||
) |
|
delete |
|
delete |
bool Diarkis::DiarkisSessionCreateResponseEventArgs::IsSuccess | ( | ) | const |
Get whether the command was successful or not.
true=success false=failure
uint8_t Diarkis::DiarkisSessionCreateResponseEventArgs::GetSessionType | ( | ) | const |
Get the session type.
const Diarkis::StdString& Diarkis::DiarkisSessionCreateResponseEventArgs::GetSessionID | ( | ) | const |
Get the session ID.
uint16_t Diarkis::DiarkisSessionCreateResponseEventArgs::GetErrorCode | ( | ) | const |
const StdString& Diarkis::DiarkisSessionCreateResponseEventArgs::GetErrorMessage | ( | ) | const |
Gets the contents of the error.