Methods Summary |
---|
private static void | _incrementNumberOfOpenSockets()
_numberOfOpenSockets++;
|
public java.net.Socket | accept()
Socket returnValue = new MonitoringSocket();
implAccept(returnValue);
return returnValue;
|
private static void | decrementNumberOfOpenSockets()
_numberOfOpenSockets--;
|
public void | finalize()
decrementNumberOfOpenSockets();
|
private synchronized void | printMonitoringServerSocketStatus()
System.out.println("There are currently " + _numberOfOpenSockets + " open MonitoringServerSockets");
try {
System.out.println("\t getSoTimeout() returns " + getSoTimeout());
} catch (IOException e) {
System.out.println("\t getSoTimeout() is currently throwing an exception ");
}
|
public void | setSoTimeout(int timeout)
super.setSoTimeout(timeout);
printMonitoringServerSocketStatus();
|