|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AX25FrameSource
This interface specifies an object that can provide a fully-encoded AX.25 frame for transmission. The object will be queried whenever the transmission queue decides to transmit the message. The object is not required to return the same frame upon multiple queries (due to retransmissions, etc.); this allows for updating beacons with mobile stations, or doing proportional pathing.
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. |
Method Detail |
---|
AX25Frame[] getFrames(boolean incrementXmtCount, byte protocolId, java.lang.String senderCallsign)
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)
int getNumTransmitsBeforeDecay()
Connector getConnector()
Connector.CAP_XMT_PACKET_DATA
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |