Interface BufferConfiguration.DataHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onData​(int numberOfBytes)
      Invoked whenever the bytes from a value are processed, regardless of whether the bytes are buffered or skipped due to the value being oversized.
    • Method Detail

      • onData

        void onData​(int numberOfBytes)
             throws java.lang.Exception
        Invoked whenever the bytes from a value are processed, regardless of whether the bytes are buffered or skipped due to the value being oversized.
        Parameters:
        numberOfBytes - the number of bytes processed.
        Throws:
        java.lang.Exception - if handler logic fails.