| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
fipaos.mts.MTPBase | +--fipaos.mts.ExternalMTPBase
Provides a basic implementation of a MTP, based upon the MTPBase
object and implementing the ExternalMTP 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(Envelope env, byte[] msg) Incoming messages are passed to this via this method |
void | initialise(PostParserService previous, PostParserService next) Invoked when the undelying implementation should initialise itself. |
static void | main(String[] args) |
final void | outgoing(Envelope env, byte[] 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(Envelope env, byte[] msg)
this
via this methodpublic void initialise(PostParserService previous, PostParserService next)
public static void main(String[] args)
throws java.lang.Throwable
public final void outgoing(Envelope env, byte[] 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 |