fr.dyade.aaa.agent.AdminProxy.AdminMonitor Class Reference

Inherits fr.dyade.aaa.util.Daemon.

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

Inheritance graph
[legend]
Collaboration diagram for fr.dyade.aaa.agent.AdminProxy.AdminMonitor:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 209 of file AdminProxy.java.


Constructor & Destructor Documentation

fr.dyade.aaa.agent.AdminProxy.AdminMonitor.AdminMonitor ( String  name  )  [protected]

Constructor.

Definition at line 217 of file AdminProxy.java.


Member Function Documentation

String fr.dyade.aaa.agent.AdminProxy.AdminMonitor.toString (  ) 

Provides a string image for this object.

Returns:
printable image of 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:


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:16:12 2008 for joram by  doxygen 1.5.0