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


Field Summary
 (package private) RMIComms_parent
           

Constructor Summary
RMIComms.MTSListener(RMIComms parent)
           

Method Summary
 voidmessage(Message p1)
          All messages to an Agent should be passed using this method
 voidping()
          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

Field Detail

_parent

RMIComms _parent
Constructor Detail

RMIComms.MTSListener

public RMIComms.MTSListener(RMIComms parent)
throws java.rmi.RemoteException
Method Detail

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

Association Links

to Class fipaos.mts.rmi.internal.RMIComms