public interface BufferDecoder
Modifier and Type | Method and Description |
---|---|
int |
isReadyToHandle(ActiveMQBuffer buffer)
called by the remoting system prior to
BufferHandler.bufferReceived(Object, ActiveMQBuffer) . |
int isReadyToHandle(ActiveMQBuffer buffer)
BufferHandler.bufferReceived(Object, ActiveMQBuffer)
.
The implementation should return true if there is enough data in the buffer to decode. otherwise false. * @param buffer the buffer
Copyright © 2016 JBoss by Red Hat. All rights reserved.