org.ka2ddo.ax25
Class FrameState

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

public class FrameState
extends java.lang.Object

The class describes the digipeat status of an associated AX25Frame.


Field Summary
 boolean alreadyDigipeated
          Indicate whether the associated frame has already been digipeated.
 long when
          Record when the frame was digipeated.
 
Constructor Summary
FrameState()
          Create a FrameState for the current time, already digipeated.
FrameState(long now)
          Create a FrameState for the specified time, not yet digipeated.
 
Method Summary
 java.lang.String toString()
          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 Detail

alreadyDigipeated

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


when

public long when
Record when the frame was digipeated.

Constructor Detail

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 Detail

toString

public java.lang.String toString()
Report a description of this FrameState object.

Overrides:
toString in class java.lang.Object
Returns:
descriptive String