Class FrameState

java.lang.Object
org.ka2ddo.ax25.FrameState

public class FrameState extends Object
The class describes the digipeat status of an associated AX25Frame.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Indicate whether the associated frame has already been digipeated.
    long
    Record when the frame was digipeated.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a FrameState for the current time, already digipeated.
    FrameState(long now)
    Create a FrameState for the specified time, not yet digipeated.
  • Method Summary

    Modifier and Type
    Method
    Description
    Report a description of this FrameState object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • alreadyDigipeated

      public boolean alreadyDigipeated
      Indicate whether the associated frame has already been digipeated.
    • when

      public long when
      Record when the frame was digipeated.
  • Constructor Details

    • FrameState

      public FrameState()
      Create a FrameState for the current time, already digipeated.
    • FrameState

      public FrameState(long now)
      Create a FrameState for the specified time, not yet digipeated.
      Parameters:
      now - time of frame in milliseconds since Jan 1 1970 UTC
  • Method Details

    • toString

      public String toString()
      Report a description of this FrameState object.
      Overrides:
      toString in class Object
      Returns:
      descriptive String