|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ka2ddo.ax25.FrameWrapper
public class FrameWrapper
This class provides an association between a frame and a PortConnector for transmission.
Constructor Summary | |
---|---|
FrameWrapper(AX25Frame frame,
FrameState state,
Connector port)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FrameWrapper(AX25Frame frame, FrameState state, Connector port)
Method Detail |
---|
public AX25Frame[] getFrames(boolean incrementXmtCount, byte protocolId, java.lang.String senderCallsign)
getFrames
in interface AX25FrameSource
incrementXmtCount
- 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()
AX25FrameSource
getNumTransmitsBeforeDecay
in interface AX25FrameSource
public Connector getConnector()
AX25FrameSource
getConnector
in interface AX25FrameSource
Connector.CAP_XMT_PACKET_DATA
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |