se.liu.ida.critiquer.communication
Class RemoteAgentMutexConstraint

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by jxl.peermi.PeerRemoteObject
                  extended by se.liu.ida.critiquer.communication.RemoteAgentMutexConstraint
All Implemented Interfaces:
Serializable, Remote, PeerRemote, RemotePlanListener

public class RemoteAgentMutexConstraint
extends PeerRemoteObject
implements RemotePlanListener

Author:
olale
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteAgentMutexConstraint()
           
RemoteAgentMutexConstraint(int port)
           
 
Method Summary
 void activityUpdated(Activity activity)
          Dispatch to the local AgentMutext critic, if one exists
 AgentMutex getDelegator()
           
 
Methods inherited from class jxl.peermi.PeerRemoteObject
checkAlive, isAlive, toStub
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jxl.peermi.PeerRemote
checkAlive
 

Constructor Detail

RemoteAgentMutexConstraint

public RemoteAgentMutexConstraint()
                           throws RemoteException
Throws:
RemoteException

RemoteAgentMutexConstraint

public RemoteAgentMutexConstraint(int port)
                           throws RemoteException
Parameters:
port -
Throws:
RemoteException
Method Detail

activityUpdated

public void activityUpdated(Activity activity)
                     throws RemoteException
Dispatch to the local AgentMutext critic, if one exists

Specified by:
activityUpdated in interface RemotePlanListener
Throws:
RemoteException
See Also:
RemotePlanListener.activityUpdated(se.liu.ida.critiquer.activities.Activity)

getDelegator

public AgentMutex getDelegator()
Returns:
Returns the delegator.