Interface BufferDecoder
public interface BufferDecoder
-
Method Summary
Modifier and TypeMethodDescriptionintisReadyToHandle(ActiveMQBuffer buffer) called by the remoting system prior toBufferHandler.bufferReceived(Object, ActiveMQBuffer).
-
Method Details
-
isReadyToHandle
called by the remoting system prior toBufferHandler.bufferReceived(Object, ActiveMQBuffer).The implementation should return
trueif there is enough data in the buffer to decode. otherwise false.- Parameters:
buffer- the buffer- Returns:
trueid the buffer can be decoded.
-