fipaos.mts.service
Interface PreParserService
- All Known Subinterfaces:
- InternalMTP
- All Known Implementing Classes:
- BufferService, CommMultiplexService, ParserService, ACCRouterService
- 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
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