kaos.core.service.directory
Class DSCoordinatorProxy

java.lang.Object
  extended by kaos.core.service.util.MethodCallProxy
      extended by kaos.core.service.directory.DSCoordinatorProxy
All Implemented Interfaces:
DirectoryServiceCoordinator

public class DSCoordinatorProxy
extends MethodCallProxy
implements DirectoryServiceCoordinator


Nested Class Summary
 
Nested classes/interfaces inherited from class kaos.core.service.util.MethodCallProxy
MethodCallProxy.OperationWaiter
 
Field Summary
 
Fields inherited from class kaos.core.service.util.MethodCallProxy
_entityEnv, _logger, _myLocator, _nickName, _NICKNAME_ROOT, _remoteLocator, _remoteNickname, _sender, _waiters
 
Fields inherited from interface kaos.core.service.directory.DirectoryServiceCoordinator
DS_REGISTRATION_UPDATE, LOCATOR_NAME, REGISTRATION_TYPE
 
Constructor Summary
DSCoordinatorProxy()
          Creates a new instance of DSCoordinatorProxy
 
Method Summary
 void deregister(KAoSAgentDescription agentDesc)
           
 KAoSAgentDescription getDirectoryService(java.lang.String agentName)
           
 java.util.List getDirectoryServices()
           
 void register(KAoSAgentDescription agentDesc)
           
 
Methods inherited from class kaos.core.service.util.MethodCallProxy
bindToMessageTransportService, equals, getResult, getResult, hashCode, initialize, obtainEntityEnv, printDebugString, receiveMessage, removeWaiter, sendRequestNoWait, waitForReply
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSCoordinatorProxy

public DSCoordinatorProxy()
Creates a new instance of DSCoordinatorProxy

Method Detail

getDirectoryService

public KAoSAgentDescription getDirectoryService(java.lang.String agentName)
                                         throws NotRegisteredException,
                                                DirectoryFailure
Specified by:
getDirectoryService in interface DirectoryServiceCoordinator
Throws:
NotRegisteredException
DirectoryFailure

getDirectoryServices

public java.util.List getDirectoryServices()
                                    throws DirectoryFailure
Specified by:
getDirectoryServices in interface DirectoryServiceCoordinator
Throws:
DirectoryFailure

register

public void register(KAoSAgentDescription agentDesc)
              throws DirectoryFailure
Specified by:
register in interface DirectoryServiceCoordinator
Throws:
DirectoryFailure

deregister

public void deregister(KAoSAgentDescription agentDesc)
                throws DirectoryFailure
Specified by:
deregister in interface DirectoryServiceCoordinator
Throws:
DirectoryFailure