InspIRCd  3.0
Public Member Functions | List of all members
ClientProtocol::EventProvider Class Reference

#include <clientprotocol.h>

Inheritance diagram for ClientProtocol::EventProvider:
Events::ModuleEventProvider ServiceProvider dynamic_reference_base::CaptureHook classbase

Public Member Functions

 EventProvider (Module *Mod, const std::string &eventname)
- Public Member Functions inherited from Events::ModuleEventProvider
 ModuleEventProvider (Module *mod, const std::string &eventid)
const ModuleGetModule () const
const SubscriberListGetSubscribers () const
void Subscribe (ModuleEventListener *subscriber)
void Unsubscribe (ModuleEventListener *subscriber)
- Public Member Functions inherited from ServiceProvider
 ServiceProvider (Module *Creator, const std::string &Name, ServiceType Type)
const char * GetTypeString () const
virtual void RegisterService ()
void DisableAutoRegister ()
- Public Member Functions inherited from classbase
virtual CullResult cull ()

Additional Inherited Members

- Public Types inherited from Events::ModuleEventProvider
typedef insp::flat_multiset< ModuleEventListener *, Comp, ElementCompSubscriberList
- Public Attributes inherited from ServiceProvider
ModuleRef creator
const std::string name
const ServiceType service

Detailed Description

Event provider for client protocol events. Protocol event hooks can be attached to the instances of these providers. The core has event providers for most common IRC events defined in RFC1459.

Constructor & Destructor Documentation

◆ EventProvider()

ClientProtocol::EventProvider::EventProvider ( Module Mod,
const std::string &  eventname 


ModModule that owns the event provider.
eventnameName of the event this provider is for, e.g. "JOIN", "PART", "NUMERIC". Should match command name if applicable.

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