Anope IRC Services
Version 2.0
|
#include <service.h>
Public Member Functions | |
Service (Module *o, const Anope::string &t, const Anope::string &n) | |
virtual | ~Service () |
void | Register () |
void | Unregister () |
![]() | |
Base () | |
virtual | ~Base () |
void | AddReference (ReferenceBase *r) |
void | DelReference (ReferenceBase *r) |
Static Public Member Functions | |
static Service * | FindService (const Anope::string &t, const Anope::string &n) |
static std::vector< Anope::string > | GetServiceKeys (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 | |
Module * | owner |
Anope::string | type |
Anope::string | name |
Static Private Member Functions | |
static Service * | FindService (const std::map< Anope::string, Service * > &services, const std::map< Anope::string, Anope::string > *aliases, const Anope::string &n) |
Static Private Attributes | |
static std::map< Anope::string, std::map< Anope::string, Service * > > | Services |
static std::map< Anope::string, std::map< Anope::string, Anope::string > > | Aliases |
Anything that inherits from this class can be referred to using ServiceReference. Any interfaces provided by modules, such as commands, use this. This is also used for modules that publish a service (m_ssl_openssl, etc).
|
inline |
|
inlinestatic |
Definition at line 70 of file service.h.
Referenced by ServiceAlias::ServiceAlias().
|
inlinestatic |
Definition at line 76 of file service.h.
Referenced by ServiceAlias::~ServiceAlias().
|
inlinestaticprivate |
Definition at line 30 of file service.h.
Referenced by ServiceReference< BaseExtensibleItem< T > >::operator bool().
|
inlinestatic |
|
inlinestatic |
Definition at line 60 of file service.h.
Referenced by CommandOSModInfo::Execute(), and SASLService::SendMechs().
|
staticprivate |
Anope::string Service::name |
Definition at line 88 of file service.h.
Referenced by MySQLService::Connect(), FlagsChanAccess::DetermineFlags(), XOPChanAccess::DetermineLevel(), CommandCSXOP::DoClear(), CommandCSXOP::DoDel(), CommandCSXOP::DoList(), CommandOSModInfo::Execute(), SerializableExtensibleItem< Anope::string >::ExtensibleSerialize(), SerializableExtensibleItem< bool >::ExtensibleSerialize(), SerializableExtensibleItem< Anope::string >::ExtensibleUnserialize(), SerializableExtensibleItem< bool >::ExtensibleUnserialize(), Log::FormatCommand(), LDAPService::LDAPService(), Log::Log(), CSSetMisc::OnChanInfo(), RedisSocket::OnConnect(), RedisSocket::OnError(), CommandCSSetAutoOp::OnHelp(), CommandCSSetBanType::OnHelp(), CommandCSSetDescription::OnHelp(), CommandCSSetFounder::OnHelp(), CommandCSSetSecure::OnHelp(), NSSetMisc::OnNickInfo(), HTTPD::OnReload(), ModuleRedis::OnReload(), WebCPanel::ChanServ::Access::OnRequest(), LDAPService::Reconnect(), XLine::Serialize(), and ChanAccess::Serialize().
Module* Service::owner |
Definition at line 84 of file service.h.
Referenced by CommandCSAKick::DoAdd(), CommandNSAccess::DoAdd(), CommandNSAJoin::DoAdd(), CommandEntryMessage::DoAdd(), CommandNSCert::DoAdd(), CommandOSSet::DoSetSuperAdmin(), CommandOSReload::Execute(), CommandOSModInfo::Execute(), CommandHSList::Execute(), CommandNSList::Execute(), CommandCSList::Execute(), CommandOSLogSearch::Execute(), CommandCSSuspend::Execute(), CommandNSSuspend::Execute(), CommandNSIdentify::Execute(), CommandNSGroup::Execute(), CommandHSRequest::Execute(), CommandNSRegister::Execute(), CommandOSModUnLoad::Execute(), CommandNSRecover::Execute(), CommandNSResend::Execute(), CommandHSWaiting::Execute(), SASLService::GetAgent(), and ChanServCore::Hold().
|
staticprivate |
Anope::string Service::type |