| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
fipaos.mts.MTPBase | +--fipaos.mts.InternalMTPBase | +--fipaos.mts.rmi.internal.RMIComms
This class is a Comms implementation which offers support
for RMI.
Inner Class Summary | |
public class | RMIComms.MTSListener Class that is actually bound to the NS |
Fields inherited from class fipaos.mts.MTPBase |
_shutdown, ACC_NAME |
Constructor Summary | |
RMIComms(String name, URL ns) Comms initialiser |
Method Summary | |
static void | bindToRegistry(String name, Remote r, int port) This method will (re)bind the given entry into the local Registry NOTE: RMIRegistry's only allow local objects to be bound to them, hence the need for an additional (lightweight) Naming-Service. |
List | getAddresses() Method to retreive the protocol dependant address of an object that can be used to receive messages. |
List | getProtocols() Retreives the protocols known by this comms implementation |
void | handleMessage(Message msg) |
static void | main(String[] args) Test harness for transport |
void | shutdown() This should be invoked when the transport should be safely shutdown |
static synchronized void | startupRegistry(int port) This method will create a new Registry locally if there isn't already one running |
Methods inherited from class fipaos.mts.InternalMTPBase |
incoming, initialise, outgoing |
Constructor Detail |
public RMIComms(String name, URL ns)
throws fipaos.mts.InitialisationException,
java.rmi.RemoteException
Method Detail |
public static void bindToRegistry(String name, Remote r, int port)
throws fipaos.mts.InitialisationException
public List getAddresses()
public List getProtocols()
public void handleMessage(Message msg)
public static void main(String[] args)
throws java.lang.Exception
public void shutdown()
public static synchronized void startupRegistry(int port)
throws fipaos.mts.InitialisationException
Association Links |
to Class fipaos.mts.rmi.internal.ns.RMIAgentNamingService
to Class fipaos.mts.rmi.internal.MTS
to Class fipaos.util.URL
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |