fipaos.mts.service
Class CommMultiplexService
java.lang.Object
|
+--fipaos.mts.service.CommMultiplexService
- All Implemented Interfaces:
- PostParserService, PreParserService, Service
- public class CommMultiplexService
- extends java.lang.Object
- implements PreParserService, PostParserService
Fields inherited from interface fipaos.mts.service.Service |
ACL_LANGUAGE_UNKNOWN, CONTENT_LANGUAGE_UNKNOWN, ERROR_STRING, ERROR_UNKNOWN, FIPAOS_DEBUG, FIPAOS_MSG_ID_SLOT, MALFORMED_ENVELOPE, MSG_DELIVERY_FAILURE_REASON, NONE, PROTOCOL_UNKNOWN, TARGET_UNKNOWN |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommMultiplexService
public CommMultiplexService()
initialise
public void initialise(java.util.Map transports)
outgoing
public void outgoing(Message p1)
- Description copied from interface:
PreParserService
- Outgoing messages are passed to
this
via this method
- Specified by:
outgoing
in interface PreParserService
- Following copied from interface:
fipaos.mts.service.PreParserService
- Parameters:
msg
- Outgoing message
incoming
public void incoming(Message p1)
- Description copied from interface:
PreParserService
- Incoming messages are passed to
this
via this method
- Specified by:
incoming
in interface PreParserService
- Following copied from interface:
fipaos.mts.service.PreParserService
- Parameters:
msg
- Incoming message
initialise
public void initialise(PreParserService p1,
PreParserService p2)
- Description copied from interface:
PreParserService
- Invoked when the undelying implementation should initialise itself. Allows
references to other PreParserService's before and after it in the stack
to be passed
- Specified by:
initialise
in interface PreParserService
- Following copied from interface:
fipaos.mts.service.PreParserService
- Parameters:
previous
- Previous PreParserService instance (Incoming messages should be passed to this)next
- Next PreParserService instance (Outgoing messages should be passed to this)
outgoing
public void outgoing(Envelope p1,
byte[] p2)
- Description copied from interface:
PostParserService
- Outgoing messages are passed to
this
via this method
- Specified by:
outgoing
in interface PostParserService
- Following copied from interface:
fipaos.mts.service.PostParserService
- Parameters:
msg
- Outgoing message
incoming
public void incoming(Envelope p1,
byte[] p2)
- Description copied from interface:
PostParserService
- Incoming messages are passed to
this
via this method
- Specified by:
incoming
in interface PostParserService
- Following copied from interface:
fipaos.mts.service.PostParserService
- Parameters:
msg
- Incoming message
initialise
public void initialise(PostParserService p1,
PostParserService p2)
- Description copied from interface:
PostParserService
- Invoked when the undelying implementation should initialise itself. Allows
references to other PostParserService's before and after it in the stack
to be passed
- Specified by:
initialise
in interface PostParserService
- Following copied from interface:
fipaos.mts.service.PostParserService
- Parameters:
previous
- Previous PostParserService instance (Incoming messages should be passed to this)next
- Next PostParserService instance (Outgoing messages should be passed to this)
shutdown
public void shutdown()
- Description copied from interface:
Service
- This should be invoked when the service should be safely shutdown
- Specified by:
shutdown
in interface Service