|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SendableMessage
This interface tags a decoded AX25Message that can be converted back to transmittable form.
| Method Summary | |
|---|---|
AX25Message |
dup()
Creates and returns a copy of this Message. |
byte[] |
getBody(boolean countTransmission,
byte protocolId,
AX25Frame frame)
Get an instance of this message, suitable for transmitting. |
boolean |
isEnabled()
Test if message should still be transmitted. |
| Method Detail |
|---|
byte[] getBody(boolean countTransmission,
byte protocolId,
AX25Frame frame)
countTransmission - number of times the message has been transmitted.protocolId - AX.25 protocol ID to generate the message in, or 0 for default protocol; currently,
only NOLVL3 (APRS) and OPENTRAC are supported.frame - AX25Frame into which the message will be placed; the decoded message (as opposed to the byte
array encoding) should be stored into the field frame.parsedAX25Msg
AX25Frame.parsedAX25Msgboolean isEnabled()
AX25Message dup()
will be true, and that the expression:x.clone() != x
will be true, but these are not absolute requirements. While it is typically the case that:x.clone().getClass() == x.getClass()
will be true, this is not an absolute requirement.x.clone().equals(x)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||