Class CAENRFIDEventInventoryTagEndEvent


  • public class CAENRFIDEventInventoryTagEndEvent
    extends Object
    The CAENRFIDLogicalSource.EventInventoryTag end event argument. This is the argument of the event related to the end of the stream started by the user application when any of CAENRFIDLogicalSource.EventInventoryTag* methods has been called.
    • Constructor Detail

      • CAENRFIDEventInventoryTagEndEvent

        protected CAENRFIDEventInventoryTagEndEvent​(CAENRFIDReader reader,
                                                    String resultMessage,
                                                    short resultCode)
    • Method Detail

      • GetReader

        public CAENRFIDReader GetReader()
        Get the reader that generated this event. This is the reader that generated this specific event.
        Returns:
        The instance of the reader.
      • GetResultMessage

        public String GetResultMessage()
        Get the termination result. The description related to the streaming termination event result code.
        Returns:
        A string representing the description of the termination event cause.
      • GetResultCode

        public short GetResultCode()
        Get the termination result code. The status of the streaming termination event.
        Returns:
        The easy2read protocol result code indicating the kind of error.
      • isError

        public boolean isError()
        This method indicates if the stream is terminated with an error. The error is found at the end of the stream, even in case the stream end immediately.
        Returns:
        A boolean indicating the presence of an error.