Anope IRC Services  Version 2.0
Public Member Functions
Message::Ping Struct Reference

#include <messages.h>

Inheritance diagram for Message::Ping:
Inheritance graph
Collaboration diagram for Message::Ping:
Collaboration graph

Public Member Functions

 Ping (Module *creator, const Anope::string &mname="PING")
void Run (MessageSource &source, const std::vector< Anope::string > &params) anope_override
- Public Member Functions inherited from IRCDMessage
 IRCDMessage (Module *owner, const Anope::string &n, unsigned p=0)
unsigned GetParamCount () const
void SetFlag (IRCDMessageFlag f)
bool HasFlag (IRCDMessageFlag f) const
- Public Member Functions inherited from Service
 Service (Module *o, const Anope::string &t, const Anope::string &n)
virtual ~Service ()
void Register ()
void Unregister ()
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Additional Inherited Members

- Static Public Member Functions inherited from Service
static ServiceFindService (const Anope::string &t, const Anope::string &n)
static std::vector< Anope::stringGetServiceKeys (const Anope::string &t)
static void AddAlias (const Anope::string &t, const Anope::string &n, const Anope::string &v)
static void DelAlias (const Anope::string &t, const Anope::string &n)
- Data Fields inherited from Service
Anope::string type
Anope::string name

Detailed Description

Definition at line 111 of file messages.h.

Constructor & Destructor Documentation

◆ Ping()

Message::Ping::Ping ( Module creator,
const Anope::string mname = "PING" 

Definition at line 113 of file messages.h.

References anope_override, and IRCDMESSAGE_SOFT_LIMIT.

Member Function Documentation

◆ Run()

void Ping::Run ( MessageSource source,
const std::vector< Anope::string > &  params 

Implements IRCDMessage.

Definition at line 294 of file messages.cpp.

References Server::GetSID(), IRCD, Me, and IRCDProto::SendPong().

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