fipaos.mts.rmi.internal
Interface MTS

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RMIComms.MTSListener, RMIComms$MTSListener_Stub

public interface MTS
extends java.rmi.Remote

This is the RMI interface which defines what methods an object conforming to the fipaos-rmi protocol exposes


Method Summary
 void message(Message msg)
          All messages to an Agent should be passed using this method
 void ping()
          Simple ping to check if an Agent is still alive
 

Method Detail

message

public void message(Message msg)
             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