Interface FrameListener

All Known Implementing Classes:
AX25Stack
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FrameListener
This interface is implemented by any class that receives a message frame. The caller is expected to identify the frame boundaries and specify the start and length of the frame contents (but not the boundaries) for consumption. Upon return, the frame is considered consumed and the buffer containing it may be modified again.
Author:
Andrew Pavlin, KA2DDO
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Consume and process one AX.25 frame containing some sort of message.
  • Method Details

    • consumeFrame

      void consumeFrame(AX25Frame frame)
      Consume and process one AX.25 frame containing some sort of message.
      Parameters:
      frame - the AX25Frame to be processed