#include <confighandler.h>
Detailed Description
An interface that can be re-implemented to receive configuration updates.
- Author
- Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
- Since
- 0.2
Definition at line 31 of file confighandler.h.
Constructor & Destructor Documentation
Member Function Documentation
virtual bool handleC2SInterfaceAdded |
( |
const std::string & |
interface, |
|
|
int |
port |
|
) |
| |
|
inlinevirtual |
Adds a new C2S interface.
- Parameters
-
interface | The local interface to listen on. |
port | The local port to listen on. |
Definition at line 44 of file confighandler.h.
virtual bool handleC2SInterfaceRemoved |
( |
const std::string & |
interface, |
|
|
int |
port |
|
) |
| |
|
inlinevirtual |
Removes a C2S interface.
- Parameters
-
interface | The local interface to stop listening on. |
port | The local port to stop listening on. |
Definition at line 57 of file confighandler.h.
virtual void handleDomainAdded |
( |
const std::string & |
domain | ) |
|
|
pure virtual |
This function is called if a new domain has been added that the server supports.
- Parameters
-
Implemented in SM, and Router.
virtual void handleDomainRemoved |
( |
const std::string & |
domain | ) |
|
|
pure virtual |
This function is called if a domain has been removed.
- Parameters
-
domain | The removed domain. |
Implemented in SM, and Router.
virtual void handleShutdown |
( |
| ) |
|
|
pure virtual |
This function is called to prepare a server shutdown.
Implemented in SM, and Router.
The documentation for this class was generated from the following file: