Skip to main content

SimpleMessageProcessor

Class

trading.keysquare.api.session.dispatch.SimpleMessageProcessor

Message processor to allow applications to process SBEs.

Methods

void process(T decoder)

Process a message. Note that this should used for where the message length isn't required. Where variable length messages are in use and the length is needed for copying, then the MessageProcessor interface should be used instead.

The decoder and backing buffer is owned by the calling thread and only valid for this method invocation. A reference to either should not be kept. If the data is needed beyond the method invocation then it should be copied.