Changeset View
Changeset View
Standalone View
Standalone View
source/lobby/XmppClient.h
Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | public: | ||||
void SendStunEndpointToHost(const StunClient::StunEndpoint& stunEndpoint, const std::string& hostJID); | void SendStunEndpointToHost(const StunClient::StunEndpoint& stunEndpoint, const std::string& hostJID); | ||||
/** | /** | ||||
* Convert gloox values to string or time. | * Convert gloox values to string or time. | ||||
*/ | */ | ||||
static const char* GetPresenceString(const gloox::Presence::PresenceType presenceType); | static const char* GetPresenceString(const gloox::Presence::PresenceType presenceType); | ||||
static const char* GetRoleString(const gloox::MUCRoomRole role); | static const char* GetRoleString(const gloox::MUCRoomRole role); | ||||
static const char* MessageSubtypeToString(gloox::Message::MessageType err); | |||||
static std::string StanzaErrorToString(gloox::StanzaError err); | static std::string StanzaErrorToString(gloox::StanzaError err); | ||||
static std::string RegistrationResultToString(gloox::RegistrationResult res); | static std::string RegistrationResultToString(gloox::RegistrationResult res); | ||||
static std::string ConnectionErrorToString(gloox::ConnectionError err); | static std::string ConnectionErrorToString(gloox::ConnectionError err); | ||||
static std::string CertificateErrorToString(gloox::CertStatus status); | static std::string CertificateErrorToString(gloox::CertStatus status); | ||||
static std::time_t ComputeTimestamp(const glooxwrapper::Message& msg); | static std::time_t ComputeTimestamp(const glooxwrapper::Message& msg); | ||||
protected: | protected: | ||||
/* Xmpp handlers */ | /* Xmpp handlers */ | ||||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator