Interface BufferDecoder
-
public interface BufferDecoder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intisReadyToHandle(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)called by the remoting system prior toBufferHandler.bufferReceived(Object, ActiveMQBuffer).
-
-
-
Method Detail
-
isReadyToHandle
int isReadyToHandle(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
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. * @param buffer the buffer
- Returns:
- true id the buffer can be decoded..
-
-