Interface CanListener

    • Method Detail

      • message

        void message​(CanMessage m)
        Called when an outgoing message is sent to the CAN Network.
        Parameters:
        m - the CanMessage being sent.
      • reply

        void reply​(CanReply m)
        Called when an incoming CanFrame is received from the CAN Network.
        Parameters:
        m - the CanReply being received.
      • addTc

        default void addTc​(TrafficController tcToAdd)
        Add a Traffic Controller Listener. Adding here, rather than in a class construction header avoids Leaking Constructor errors.
        Parameters:
        tcToAdd - The system memo CAN Traffic Controller
      • addTc

        default void addTc​(CanSystemConnectionMemo memoToAdd)
        Add a Traffic Controller Listener. Adding here, rather than in a class construction header avoids Leaking Constructor errors.
        Parameters:
        memoToAdd - The CAN system Connection.
      • removeTc

        default void removeTc​(TrafficController tcToRemove)
        Remove a Traffic Controller Listener.
        Parameters:
        tcToRemove - The system memo CAN Traffic Controller.
      • removeTc

        default void removeTc​(CanSystemConnectionMemo memoToRemove)
        Remove a Traffic Controller Listener.
        Parameters:
        memoToRemove - The CAN system Connection.