version 1.75, 2004/08/23 10:57:47
|
version 1.76, 2004/09/30 16:41:29
|
|
|
_async(false), | _async(false), |
_stopConnections(0), | _stopConnections(0), |
_stopConnectionsSem(0), | _stopConnectionsSem(0), |
_solicitSocketCount(0) |
_solicitSocketCount(0), |
|
_tickle_client_socket(0), |
|
_tickle_server_socket(0), |
|
_tickle_peer_socket(0) |
{ | { |
int numberOfMonitorEntriesToAllocate = MAX_NUMBER_OF_MONITOR_ENTRIES; | int numberOfMonitorEntriesToAllocate = MAX_NUMBER_OF_MONITOR_ENTRIES; |
Socket::initializeInterface(); | Socket::initializeInterface(); |
|
|
_async(async), | _async(async), |
_stopConnections(0), | _stopConnections(0), |
_stopConnectionsSem(0), | _stopConnectionsSem(0), |
_solicitSocketCount(0) |
_solicitSocketCount(0), |
|
_tickle_client_socket(0), |
|
_tickle_server_socket(0), |
|
_tickle_peer_socket(0) |
{ | { |
int numberOfMonitorEntriesToAllocate = MAX_NUMBER_OF_MONITOR_ENTRIES; | int numberOfMonitorEntriesToAllocate = MAX_NUMBER_OF_MONITOR_ENTRIES; |
Socket::initializeInterface(); | Socket::initializeInterface(); |
|
|
Tracer::trace(TRC_HTTP, Tracer::LEVEL4, "deleting rep"); | Tracer::trace(TRC_HTTP, Tracer::LEVEL4, "deleting rep"); |
| |
Tracer::trace(TRC_HTTP, Tracer::LEVEL4, "uninitializing interface"); | Tracer::trace(TRC_HTTP, Tracer::LEVEL4, "uninitializing interface"); |
|
|
|
try{ |
|
if(_tickle_peer_socket > 0) |
|
{ |
|
Socket::close(_tickle_peer_socket); |
|
} |
|
if(_tickle_client_socket > 0) |
|
{ |
|
Socket::close(_tickle_client_socket); |
|
} |
|
if(_tickle_server_socket > 0) |
|
{ |
|
Socket::close(_tickle_server_socket); |
|
} |
|
} |
|
catch(...) |
|
{ |
|
Tracer::trace(TRC_HTTP, Tracer::LEVEL4, |
|
"Failed to close tickle sockets"); |
|
} |
|
|
Socket::uninitializeInterface(); | Socket::uninitializeInterface(); |
Tracer::trace(TRC_HTTP, Tracer::LEVEL4, | Tracer::trace(TRC_HTTP, Tracer::LEVEL4, |
"returning from monitor destructor"); | "returning from monitor destructor"); |