Public Member Functions | |
| int | addVHost (Vhost *) |
| void | changeFilesOwner () |
| void | clean () |
| int | getHostsNumber () |
| Vhost * | getVHost (const char *, const char *, u_short) |
| Vhost * | getVHostByNumber (int n) |
| list< Vhost * > * | getVHostList () |
| int | loadXMLConfigurationFile (const char *, int maxlogSize=0) |
| int | removeVHost (int n) |
| int | saveXMLConfigurationFile (const char *) |
| void | setExternalSource (VhostSource *extSource) |
| int | switchVhosts (int n1, int n2) |
| VhostManager (ListenThreads *lt) | |
| ~VhostManager () | |
Private Attributes | |
| VhostSource * | extSource |
| list< Vhost * > | hostList |
| ListenThreads * | listenThreads |
| Mutex | mutex |
|
|
VhostManager costructor.
|
|
|
vhostmanager destructor. |
|
|
Add an element to the vhost list. |
|
|
Set the right owner for the log files. |
|
|
Clean the virtual hosts. |
|
|
Returns the number of hosts in the list |
|
||||||||||||||||
|
Get a pointer to a vhost. |
|
|
Get a virtual host by its position in the list. Zero based list.
|
|
|
Returns the entire virtual hosts list. |
|
||||||||||||
|
Load the virtual hosts list from a xml configuration file. |
|
|
Remove a virtual host by its position in the list First position is zero.
|
|
|
Save the virtual hosts list to a xml configuration file. |
|
|
Set an external source for the virtual hosts.
|
|
||||||||||||
|
|
|
|
|
|
|
List of virtual hosts. |
|
|
|
|
|
|
1.3.9.1