Anope IRC Services  Version 2.0
Public Member Functions
SGLineManager Class Reference
Inheritance diagram for SGLineManager:
Inheritance graph
[legend]
Collaboration diagram for SGLineManager:
Collaboration graph
[legend]

Public Member Functions

 SGLineManager (Module *creator)
 
void OnMatch (User *u, XLine *x) anope_override
 
void OnExpire (const XLine *x) anope_override
 
void Send (User *u, XLine *x) anope_override
 
void SendDel (XLine *x) anope_override
 
bool Check (User *u, const XLine *x) anope_override
 
- Public Member Functions inherited from XLineManager
 XLineManager (Module *creator, const Anope::string &name, char t)
 
virtual ~XLineManager ()
 
const char & Type ()
 
size_t GetCount () const
 
const std::vector< XLine * > & GetList () const
 
void AddXLine (XLine *x)
 
bool DelXLine (XLine *x)
 
XLineGetEntry (unsigned index)
 
void Clear ()
 
bool CanAdd (CommandSource &source, const Anope::string &mask, time_t expires, const Anope::string &reason)
 
XLineHasEntry (const Anope::string &mask)
 
XLineCheckAllXLines (User *u)
 
- 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 XLineManager
static void RegisterXLineManager (XLineManager *xlm)
 
static void UnregisterXLineManager (XLineManager *xlm)
 
static void CheckAll (User *u)
 
static Anope::string GenerateUID ()
 
- 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
 
- Static Public Attributes inherited from XLineManager
static std::list< XLineManager * > XLineManagers
 

Detailed Description

Definition at line 14 of file operserv.cpp.

Constructor & Destructor Documentation

SGLineManager::SGLineManager ( Module creator)
inline

Definition at line 17 of file operserv.cpp.

Member Function Documentation

bool SGLineManager::Check ( User u,
const XLine x 
)
inlinevirtual

Check a user against an xline

Parameters
uThe user
xThe xline

Implements XLineManager.

Definition at line 39 of file operserv.cpp.

References Anope::Match().

void SGLineManager::OnExpire ( const XLine x)
inlinevirtual

Called when an XLine expires

Parameters
xThe xline

Reimplemented from XLineManager.

Definition at line 24 of file operserv.cpp.

void SGLineManager::OnMatch ( User u,
XLine x 
)
inlinevirtual

Called when a user matches a xline in this XLineManager

Parameters
uThe user
xThe XLine they match

Implements XLineManager.

Definition at line 19 of file operserv.cpp.

References Send().

void SGLineManager::Send ( User u,
XLine x 
)
inlinevirtual

Called to send an XLine to the IRCd

Parameters
uThe user, if we know it
xThe xline

Implements XLineManager.

Definition at line 29 of file operserv.cpp.

References IRCD, and IRCDProto::SendAkill().

Referenced by OnMatch().

void SGLineManager::SendDel ( XLine x)
inlinevirtual

Called to remove an XLine from the IRCd

Parameters
xThe XLine

Implements XLineManager.

Definition at line 34 of file operserv.cpp.

References IRCD, and IRCDProto::SendAkillDel().


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