Interface ModeDListener


  • public interface ModeDListener
    Listener for incoming Mode D messages. The object of that class is registered as a listener through the Iec21Port.listen(ModeDListener)
    • Method Detail

      • newDataMessage

        void newDataMessage​(DataMessage dataMessage)
        Is called if a new data message has been received and successfully parsed.
        Parameters:
        dataMessage - the data message received
      • exceptionWhileListening

        void exceptionWhileListening​(java.lang.Exception e)
        Is called if an exception is thrown while listening for incoming mode D data messages.
        Parameters:
        e - the exception thrown