public interface SendableMessage
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
disableForTransmit()
Specify that message should no longer be transmitted.
|
AX25Message |
dup()
Creates and returns a copy of this Message.
|
byte[] |
getBody(boolean countTransmission,
ProtocolFamily protocolId,
AX25Frame frame)
Get an instance of this message, suitable for transmitting.
|
boolean |
isEnabled()
Test if message should still be transmitted.
|
byte[] getBody(boolean countTransmission, ProtocolFamily protocolId, AX25Frame frame)
countTransmission
- number of times the message has been transmitted.protocolId
- ProtocolFamily to generate the message inframe
- 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.parsedAX25MsgAX25Frame.parsedAX25Msg
boolean isEnabled()
void disableForTransmit()
AX25Message dup()