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