org.almendra.janet.cas.node
Class AgentDispatcherRemote

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.almendra.janet.cas.node.AgentDispatcherRemote
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, IAgentDispatcher

public class AgentDispatcherRemote
extends java.rmi.server.UnicastRemoteObject
implements IAgentDispatcher

Author:
Oliver
See Also:
Serialized Form

Field Summary
protected  AgentDispatcher dispatcher
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
AgentDispatcherRemote(AgentDispatcher dispatcher)
           
 
Method Summary
 void accept(CommandEnvelope commandEnvelope)
           
 java.lang.String getName()
           
 long getQueueSize(LocalAgentPath agentPath)
           
 void setName(java.lang.String newName)
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

dispatcher

protected AgentDispatcher dispatcher
Constructor Detail

AgentDispatcherRemote

public AgentDispatcherRemote(AgentDispatcher dispatcher)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

accept

public void accept(CommandEnvelope commandEnvelope)
Specified by:
accept in interface IAgentDispatcher

setName

public void setName(java.lang.String newName)
Parameters:
newName -

getName

public java.lang.String getName()
Specified by:
getName in interface IAgentDispatcher

getQueueSize

public long getQueueSize(LocalAgentPath agentPath)
                  throws java.rmi.RemoteException
Specified by:
getQueueSize in interface IAgentDispatcher
Returns:
Throws:
java.rmi.RemoteException