Interface BufferDecoder


public interface BufferDecoder
  • Method Details

    • isReadyToHandle

      int isReadyToHandle(ActiveMQBuffer buffer)
      called by the remoting system prior to 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

      Returns:
      true id the buffer can be decoded..