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

#include <messages.h>

Inheritance diagram for Message::Ping:
Inheritance graph
[legend]
Collaboration diagram for Message::Ping:
Collaboration graph
[legend]

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
Moduleowner
 
Anope::string type
 
Anope::string name
 

Detailed Description

Definition at line 111 of file messages.h.

Constructor & Destructor Documentation

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

Definition at line 113 of file messages.h.

References IRCDMESSAGE_SOFT_LIMIT.

Member Function Documentation

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

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: