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
All Implemented Interfaces:
MTS, java.rmi.Remote, java.io.Serializable
Direct Known Subclasses:
SSLRMIComms.SSLMTSListener
Enclosing class:
RMIComms

public class RMIComms.MTSListener
extends java.rmi.server.UnicastRemoteObject
implements MTS

Class that is actually bound to the NS

See Also:
Serialized Form

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RMIComms.MTSListener(RMIComms parent)
           
 
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, 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
 

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
Specified by:
message in interface MTS
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
Specified by:
ping in interface MTS