All Packages Class Hierarchy This Package Previous Next Index
Interface kraft.monitor.display.MonitorServer
- public interface MonitorServer
- extends Remote
Defines the methods that the Monitor can provide to
agents wishing to be monitored.
These methods are remotely accessible, and recognise
any agent and any message object. (Via the use of
the Monitorable and Message interfaces)
- Author:
- Ted Francis
- See Also:
- Monitorable, Message
-
deRegister(String)
- Inform the Monitor that the Monitorable object with name 'n'
does not wish to be monitored further
-
informOfFailure(String, String, Message)
- Inform the monitor of a message that has been sent and has not
been delivered successfully.
-
informOfMessage(String, String, Message)
- Inform the monitor of a message being passed between two agents
with the names given.
-
informOfStatus(String, String)
- The agent called 'name' wishes to register its current status
with the 'comment' string.
-
register(Monitorable)
- Inform the Monitor that the given Monitorable wishes to have its
activity monitored.
deRegister
public abstract void deRegister(String n) throws RemoteException
- Inform the Monitor that the Monitorable object with name 'n'
does not wish to be monitored further
register
public abstract void register(Monitorable a) throws RemoteException
- Inform the Monitor that the given Monitorable wishes to have its
activity monitored.
informOfMessage
public abstract void informOfMessage(String from,
String to,
Message m) throws RemoteException
- Inform the monitor of a message being passed between two agents
with the names given.
informOfFailure
public abstract void informOfFailure(String from,
String to,
Message m) throws RemoteException
- Inform the monitor of a message that has been sent and has not
been delivered successfully.
The Monitor should already have been informed of this Message
by a call to informOfMessage.
informOfStatus
public abstract void informOfStatus(String name,
String comment) throws RemoteException
- The agent called 'name' wishes to register its current status
with the 'comment' string.
All Packages Class Hierarchy This Package Previous Next Index