Interface BufferDecoder
public interface BufferDecoder
-
Method Summary
Modifier and TypeMethodDescriptionint
isReadyToHandle
(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
true
if there is enough data in the buffer to decode. otherwise false.- Parameters:
buffer
- the buffer- Returns:
true
id the buffer can be decoded.
-