Skip to main content

MessageProcessor

Class

trading.keysquare.api.session.dispatch.MessageProcessor

Message processor to allow applications to process SBEs.

Methods

void process(T decoder, int length)

Process a message.

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.

The length of the underlying buffer, this can be used when copying the underlying buffer.