fr.dyade.aaa.jndi2.server
Class TcpServer.Monitor
- TcpServer
- Runnable
public static class TcpServer.Monitor
protected void | close() - Releases any resources attached to this daemon.
|
void | run()
|
protected void | shutdown() - Interupts a thread that waits for long periods.
|
close , finish , getName , interrupt , isCurrentThread , isRunning , setDaemon , setPriority , setThreadGroup , shutdown , start , stop , toString |
Monitor
protected Monitor(String name,
TcpServer tcpServer)
close
protected void close()
Releases any resources attached to this daemon. Be careful, its method
should be called more than one time.
- close in interface Daemon
run
public final void run()
shutdown
protected void shutdown()
Interupts a thread that waits for long periods. In some cases, we must
use application specific tricks. For example, if a thread is waiting on
a known socket, we have to close the socket to cause the thread to return
immediately. Unfortunately, there really isn't any technique that works
in general.
- shutdown in interface Daemon
Copyright B) 2004 Scalagent - All rights reserved