Interface PortEventListener

All Known Implementing Classes:
AnalyzedConfigTable, BlinkenLight

public interface PortEventListener
This interface defines a listener that wants to know the details of when a port is receiving or sending frames of data.
Author:
Andrew Pavlin, KA2DDO
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reports when the port fails for some reason.
    void
    portReceiving(PortConnector port, boolean isReceiving)
    Reports when the specified port starts or stops receiving a message.
    void
    portTransmitting(PortConnector port, boolean isTransmitting)
    Reports when the specified port starts or stops transmitting a message.
  • Method Details

    • portTransmitting

      void portTransmitting(PortConnector port, boolean isTransmitting)
      Reports when the specified port starts or stops transmitting a message.
      Parameters:
      port - PortConnector of relevant port
      isTransmitting - boolean true if transmitting is starting, false if transmitting is ending
    • portReceiving

      void portReceiving(PortConnector port, boolean isReceiving)
      Reports when the specified port starts or stops receiving a message.
      Parameters:
      port - PortConnector of relevant port
      isReceiving - boolean true if receiving is starting, false if receiving is ending
    • portFailed

      void portFailed(PortConnector port)
      Reports when the port fails for some reason.
      Parameters:
      port - PortConnector of relevant port