Class LogReceiver


  • public final class LogReceiver
    extends java.lang.Object
    Receiver able to provide low level parsing for device-side log services.
    • Method Detail

      • parseNewData

        public void parseNewData​(byte[] data,
                                 int offset,
                                 int length)
        Parses new data coming from the log service.
        Parameters:
        data - the data buffer
        offset - the offset into the buffer signaling the beginning of the new data.
        length - the length of the new data.
      • isCancelled

        public boolean isCancelled()
        Returns whether this receiver is canceling the remote service.
      • cancel

        public void cancel()
        Cancels the current remote service.