fipaos.mts.service
Interface PostParserService

All Known Subinterfaces:
ExternalMTP
All Known Implementing Classes:
BufferService, CommMultiplexService, ParserService, CollectorService

public interface PostParserService
extends Service

This interface should be implemented by classes which provide post-parsing (for
outbound messages) / pre-parsing (for incoming messages) processing




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

Method Summary
 voidincoming(Envelope env, byte[] msg)
          Incoming messages are passed to this via this method
 voidinitialise(PostParserService previous, PostParserService next)
          Invoked when the undelying implementation should initialise itself.
 voidoutgoing(Envelope env, byte[] msg)
          Outgoing messages are passed to this via this method

Methods inherited from interface fipaos.mts.service.Service
shutdown

Method Detail

incoming

public void incoming(Envelope env, byte[] msg)
Incoming messages are passed to this via this method
Parameters:
msg - Incoming message

initialise

public void initialise(PostParserService previous, PostParserService next)
Invoked when the undelying implementation should initialise itself. Allows
references to other PostParserService's before and after it in the stack
to be passed
Parameters:
previous - Previous PostParserService instance (Incoming messages should be passed to this)
next - Next PostParserService instance (Outgoing messages should be passed to this)

outgoing

public void outgoing(Envelope env, byte[] msg)
Outgoing messages are passed to this via this method
Parameters:
msg - Outgoing message