InspIRCd  4.0
Public Member Functions | List of all members
ClientProtocol::Messages::Pong Struct Reference

#include <clientprotocolmsg.h>

Inheritance diagram for ClientProtocol::Messages::Pong:
ClientProtocol::Message ClientProtocol::MessageSource

Public Member Functions

 Pong (const std::string &cookie, const std::string &server="")
- Public Member Functions inherited from ClientProtocol::Message
 Message (const char *cmd, User *Sourceuser=NULL)
 Message (const char *cmd, const std::string &Sourcestr, User *Sourceuser=NULL)
const ParamList & GetParams () const
const TagMapGetTags () const
const char * GetCommand () const
void PushParam (const char *str)
void PushParam (const std::string &str)
template<typename... Args>
void PushParam (const Args &... args)
void PushParamRef (const std::string &str)
void PushParamPlaceholder ()
void ReplaceParam (size_t index, const char *str)
void ReplaceParam (size_t index, const std::string &str)
void ReplaceParamRef (size_t index, const std::string &str)
void AddTag (const std::string &tagname, MessageTagProvider *tagprov, const std::string &val, void *tagdata=NULL)
void AddTags (const ClientProtocol::TagMap &newtags)
const SerializedMessage & GetSerialized (const SerializedInfo &serializeinfo) const
void ClearParams ()
void InvalidateCache ()
void CopyAll ()
void SetSideEffect (bool Sideeffect)
bool IsSideEffect () const
- Public Member Functions inherited from ClientProtocol::MessageSource
 MessageSource (User *Sourceuser=NULL)
 MessageSource (const std::string &Sourcestr, User *Sourceuser=NULL)
const std::string * GetSource () const
UserGetSourceUser () const
void SetSourceUser (User *Sourceuser)
void SetSource (const std::string &Sourcestr, User *Sourceuser=NULL)
void SetSource (const MessageSource &other)

Additional Inherited Members

- Public Types inherited from ClientProtocol::Message
typedef std::vector< ParamParamList
- Protected Member Functions inherited from ClientProtocol::Message
void SetCommand (const char *cmd)

Detailed Description

PONG message. Sent as a reply to PING.

Constructor & Destructor Documentation

◆ Pong()

ClientProtocol::Messages::Pong::Pong ( const std::string &  cookie,
const std::string &  server = "" 


cookiePing cookie. Must remain valid as long as this object is alive.
serverPinged server. Must remain valid as long as this object is alive.

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