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 Summary

    Modifier and Type
    Method
    Description
    void
    Is called if an exception is thrown while listening for incoming mode D data messages.
    void
    Is called if a new data message has been received and successfully parsed.
  • Method Details

    • 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(Exception e)
      Is called if an exception is thrown while listening for incoming mode D data messages.
      Parameters:
      e - the exception thrown