fipaos.mts.rmi.internal
Class RMIComms.MTSListener
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--fipaos.mts.rmi.internal.RMIComms.MTSListener
- public class RMIComms.MTSListener
- extends UnicastRemoteObject
- implements MTS
Class that is actually bound to the NS
Method Summary |
void | message(Message p1) All messages to an Agent should be passed using this method |
void | ping() Simple ping to check if an Agent is still alive |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, setLog, getLog |
Methods inherited from class java.rmi.server.RemoteObject |
getRef, toStub, hashCode, equals, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
_parent
RMIComms _parent
RMIComms.MTSListener
public RMIComms.MTSListener(RMIComms parent)
throws java.rmi.RemoteException
message
public void message(Message p1)
throws java.rmi.RemoteException
- All messages to an Agent should be passed using this method
- Parameters:
- msg - The Message encapsulating the envelope, ACL and message content
ping
public void ping()
throws java.rmi.RemoteException
- Simple ping to check if an Agent is still alive
to Class fipaos.mts.rmi.internal.RMIComms