fipaos.mts.service
Interface PreParserService

All Known Subinterfaces:
InternalMTP
All Known Implementing Classes:
BufferService, CommMultiplexService, ParserService, ACCRouterService, CollectorService

public interface PreParserService
extends Service

This interface should be implemented by classes which provide pre-parsing (for outbound messages) / post-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(Message msg)
          Incoming messages are passed to this via this method
 voidinitialise(PreParserService previous, PreParserService next)
          Invoked when the undelying implementation should initialise itself.
 voidoutgoing(Message 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(Message msg)
Incoming messages are passed to this via this method
Parameters:
msg - Incoming message

initialise

public void initialise(PreParserService previous, PreParserService next)
Invoked when the undelying implementation should initialise itself. Allows references to other PreParserService's before and after it in the stack to be passed
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(Message msg)
Outgoing messages are passed to this via this method
Parameters:
msg - Outgoing message