public static class QueryResponder.OnePortFrameWrapper extends java.lang.Object implements AX25FrameSource
NO_FRAMES| Constructor and Description |
|---|
OnePortFrameWrapper(AX25FrameSource realSource,
Connector port)
Create a OnePortFrameWrapper for the specified frame(s) directed to the specified ports.
|
| Modifier and Type | Method and Description |
|---|---|
Connector |
getConnector()
Specify the Connector this message should be transmitted through.
|
AX25Frame[] |
getFrames(boolean incrementXmtCount,
ProtocolFamily 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.
|
public OnePortFrameWrapper(AX25FrameSource realSource, Connector port)
realSource - AX25FrameWrapper (might be a naked AX25Frame) to sendport - Connector to transmit the frame throughpublic Connector getConnector()
getConnector in interface AX25FrameSourceConnector.CAP_XMT_PACKET_DATApublic AX25Frame[] getFrames(boolean incrementXmtCount, ProtocolFamily 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 forsenderCallsign - String of local callsign sending this message (may be ignored if digipeating
a message from another station)public int getNumTransmitsBeforeDecay()
getNumTransmitsBeforeDecay in interface AX25FrameSource