public interface BufferDecoder
Modifier and Type | Method and Description |
---|---|
int |
isReadyToHandle(HornetQBuffer buffer)
called by the remoting system prior to
BufferHandler.bufferReceived(Object, org.hornetq.api.core.HornetQBuffer) . |
int isReadyToHandle(HornetQBuffer buffer)
BufferHandler.bufferReceived(Object, org.hornetq.api.core.HornetQBuffer)
.
The implementation should return true if there is enough data in the buffer to decode. otherwise false.buffer
- the bufferCopyright © 2012 JBoss by Red Hat. All Rights Reserved.