Inheritance diagram for fr.dyade.aaa.agent.AdminProxy.AdminMonitor:


Public Member Functions | |
| String | toString () |
| void | run () |
| void | doRequest (String request) |
Protected Member Functions | |
| AdminMonitor (String name) | |
| void | close () |
| void | shutdown () |
Package Attributes | |
| Socket | socket = null |
| BufferedReader | reader = null |
| PrintWriter | writer = null |
Definition at line 209 of file AdminProxy.java.
| fr.dyade.aaa.agent.AdminProxy.AdminMonitor.AdminMonitor | ( | String | name | ) | [protected] |
Constructor.
Definition at line 217 of file AdminProxy.java.
| String fr.dyade.aaa.agent.AdminProxy.AdminMonitor.toString | ( | ) |
Provides a string image for this object.
Reimplemented from fr.dyade.aaa.util.Daemon.
Definition at line 228 of file AdminProxy.java.
References fr.dyade.aaa.agent.AdminProxy.AdminMonitor.socket.
Referenced by fr.dyade.aaa.agent.AdminProxy.toString().
| void fr.dyade.aaa.agent.AdminProxy.AdminMonitor.close | ( | ) | [protected, virtual] |
Releases any resources attached to this daemon. Be careful, its method should be called more than one time.
Implements fr.dyade.aaa.util.Daemon.
Definition at line 285 of file AdminProxy.java.
References fr.dyade.aaa.util.Daemon.getName(), fr.dyade.aaa.agent.AdminProxy.listen, and fr.dyade.aaa.util.Daemon.logmon.
Referenced by fr.dyade.aaa.agent.AdminProxy.AdminMonitor.shutdown().
Here is the call graph for this function:

| void fr.dyade.aaa.agent.AdminProxy.AdminMonitor.shutdown | ( | ) | [protected, virtual] |
Interrupts 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.
Implements fr.dyade.aaa.util.Daemon.
Definition at line 293 of file AdminProxy.java.
References fr.dyade.aaa.agent.AdminProxy.AdminMonitor.close(), fr.dyade.aaa.util.Daemon.getName(), and fr.dyade.aaa.util.Daemon.logmon.
Here is the call graph for this function:

1.5.0