kaos.core.service.directory
Class KAoSAgentDirectoryServiceProxy.OperationWaiter

java.lang.Object
  extended by kaos.core.service.directory.KAoSAgentDirectoryServiceProxy.OperationWaiter
Enclosing class:
KAoSAgentDirectoryServiceProxy

protected static class KAoSAgentDirectoryServiceProxy.OperationWaiter
extends java.lang.Object

This class is used as a helper class to block Threads invoking the various Directory operations (register, deregister, modify, search). After an operation is invoked and a message is sent to the Domain Manager, the calling Thread has to wait until the Domain Manager returns a reply message containing the result, which is either null, AgentDescriptions of other agents, or an Exception to be re-trown to the agent requesting the operation.


Constructor Summary
KAoSAgentDirectoryServiceProxy.OperationWaiter()
           
 
Method Summary
protected  void printDebugString(java.lang.String msg, int loggerDisplayLevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KAoSAgentDirectoryServiceProxy.OperationWaiter

public KAoSAgentDirectoryServiceProxy.OperationWaiter()
Method Detail

printDebugString

protected void printDebugString(java.lang.String msg,
                                int loggerDisplayLevel)