|
glooxd
0.3-svn
|
#include <componentbase.h>

Public Member Functions | |
| ComponentBase (Router &_router, ConfigManager &cm, const gloox::JID &_name, const gloox::LogSink &_logInstance) | |
| virtual | ~ComponentBase () |
| const gloox::JID & | name () const |
Public Member Functions inherited from TagHandler | |
| virtual | ~TagHandler () |
Public Member Functions inherited from ConfigHandler | |
| virtual | ~ConfigHandler () |
| virtual bool | handleC2SInterfaceAdded (const std::string &interface, int port) |
| virtual bool | handleC2SInterfaceRemoved (const std::string &interface, int port) |
| virtual void | handleDomainAdded (const std::string &domain)=0 |
| virtual void | handleDomainRemoved (const std::string &domain)=0 |
| virtual void | handleShutdown ()=0 |
Protected Attributes | |
| gloox::JID | m_name |
| Router & | m_router |
| ConfigManager & | m_cm |
| const gloox::LogSink & | m_logInstance |
An abstract base class for the server's components.
Definition at line 44 of file componentbase.h.
|
inline |
Constructor.
| _router | The local Router instance. |
| cm | The local ConfigManager. |
| _name | The component's internal name. |
| _logInstance | The LogSink to use. |
Definition at line 54 of file componentbase.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 65 of file componentbase.h.
|
inline |
Returns the component's name by which it is addressable.
Definition at line 71 of file componentbase.h.
|
protected |
Local ConfigManager.
Definition at line 85 of file componentbase.h.
|
protected |
Local LogSink.
Definition at line 87 of file componentbase.h.
|
protected |
Internal name.
Definition at line 81 of file componentbase.h.
|
protected |
Local router.
Definition at line 83 of file componentbase.h.
1.8.1.2