Anope IRC Services  Version 2.0
Public Member Functions
SASL::Mechanism Class Referenceabstract

#include <sasl.h>

Inheritance diagram for SASL::Mechanism:
Inheritance graph
Collaboration diagram for SASL::Mechanism:
Collaboration graph

Public Member Functions

 Mechanism (Module *o, const Anope::string &sname)
virtual SessionCreateSession (const Anope::string &uid)
virtual void ProcessMessage (Session *session, const Message &)=0
virtual ~Mechanism ()
- 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 60 of file sasl.h.

Constructor & Destructor Documentation

◆ Mechanism()

SASL::Mechanism::Mechanism ( Module o,
const Anope::string sname 

Definition at line 63 of file sasl.h.

◆ ~Mechanism()

virtual SASL::Mechanism::~Mechanism ( )

Definition at line 69 of file sasl.h.

References SASL::Service::DeleteSessions().

Member Function Documentation

◆ CreateSession()

virtual Session* SASL::Mechanism::CreateSession ( const Anope::string uid)

Reimplemented in External, DHAES, and DHBS.

Definition at line 65 of file sasl.h.

Referenced by SASLService::ProcessMessage().

◆ ProcessMessage()

virtual void SASL::Mechanism::ProcessMessage ( Session session,
const Message  
pure virtual

Implemented in External, DHAES, DHBS, and Plain.

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