| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
fipaos.mts.MTPBase | +--fipaos.mts.InternalMTPBase
Provides a basic implementation of a MTP, based upon the MTPBase
object and implementing the InternalMTP interface
Fields inherited from class fipaos.mts.MTPBase |
_shutdown, ACC_NAME |
Method Summary | |
abstract java.util.List | getAddresses() Method to retreive the protocol dependant addresses of an object that can be used to receive messages. |
abstract java.util.List | getProtocols() Retreives the protocols known by this comms implementation |
final void | incoming(Message msg) Incoming messages are passed to this via this method |
void | initialise(PreParserService previous, PreParserService next) Invoked when the undelying implementation should initialise itself. |
static void | main(String[] args) |
final void | outgoing(Message msg) Outgoing messages are passed to this via this method |
(package private) final void | receive(Envelope p1, Object p2) Invoked when the MTPBase class is passing an incoming message back |
(package private) final void | send(Object target, Envelope p1, Object p2) Send the given message to the given target - the target is the result of a call to one of the lookup() methods |
abstract void | shutdown() This should be invoked when the service should be safely shutdown |
Method Detail |
public abstract java.util.List getAddresses()
public abstract java.util.List getProtocols()
public final void incoming(Message msg)
this
via this methodpublic void initialise(PreParserService previous, PreParserService next)
public static void main(String[] args)
throws java.lang.Throwable
public final void outgoing(Message msg)
this
via this methodfinal void receive(Envelope p1, Object p2)
final void send(Object target, Envelope p1, Object p2)
throws UnknownTargetException,
UnknownProtocolException,
UnableToSendException
public abstract void shutdown()
Association Links |
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |