Public Member Functions | |
| void | addListeningThread (u_short port) |
| void | beginFastReboot () |
| void | commitFastReboot () |
| int | initialize (XmlParser *parser) |
| bool | isShutdown () |
| ListenThreads () | |
| void | rollbackFastReboot () |
| void | shutdown () |
| int | terminate () |
Private Member Functions | |
| int | createServerAndListener (u_short port) |
| void | registerListener (SocketInformation *) |
Private Attributes | |
| bool | committingFastReboot |
| bool | fastRebooting |
| list< u_short > | frPortsToAdd |
| list< SocketInformation * > | frPortsToRemove |
| XmlParser * | languageParser |
| bool | shutdownStatus |
| HashMap< u_short, SocketInformation * > | usedPorts |
|
|
Default c'tor. |
|
|
Add a listening thread on a specific port.
|
|
|
Prepare the listen threads manager for a fast reboot. |
|
|
Complete the fast reboot. |
|
|
This function is used to create a socket server and a thread listener for a port. |
|
|
Initialize the listen threads manager.
|
|
|
Is it shutdown phase? |
|
|
Register the sockets on the events listener. |
|
|
Restore the previous situation without do anything. |
|
|
Initialize the shutdown phase. |
|
|
Unload the listen threads manager. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1