public class FrameWrapper extends java.lang.Object implements AX25FrameSource
| Constructor and Description |
|---|
FrameWrapper(AX25Frame frame,
FrameState state,
Connector port) |
| Modifier and Type | Method and Description |
|---|---|
Connector |
getConnector()
Specify the Connector this message should be transmitted through.
|
AX25Frame[] |
getFrames(boolean incrementXmtCount,
byte protocolId,
java.lang.String senderCallsign)
Get one or more AX25Frames of the data to transmit.
|
int |
getNumTransmitsBeforeDecay()
Get number of times frame will be retransmitted before inter-packet delay is increased.
|
java.lang.String |
toString() |
public FrameWrapper(AX25Frame frame, FrameState state, Connector port)
public AX25Frame[] getFrames(boolean incrementXmtCount, byte protocolId, java.lang.String senderCallsign)
getFrames in interface AX25FrameSourceincrementXmtCount - indicate whether the transmit counter (used to cycle through
proportional pathing) should be incrementedprotocolId - indicate the protocol to generate this frame for (not relevant for
digipeated frames); zero to indicate current protocolsenderCallsign - String of local callsign sending this message (may be ignored if digipeating
a message from another station)public int getNumTransmitsBeforeDecay()
AX25FrameSourcegetNumTransmitsBeforeDecay in interface AX25FrameSourcepublic Connector getConnector()
AX25FrameSourcegetConnector in interface AX25FrameSourceConnector.CAP_XMT_PACKET_DATApublic java.lang.String toString()
toString in class java.lang.Object