Package org.ka2ddo.aprs
Interface AprsSignableMessage
- All Superinterfaces:
SendableMessage
,Serializable
,SignableMessage
- All Known Implementing Classes:
MessageMessage
This interface adds additional APRS-specific capabilities to get and set the signature
(in ASCII text) on a SignableMessage.
- Author:
- Andrew Pavlin, KA2DDO
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ka2ddo.ax25.SignableMessage
SignableMessage.SignatureState
-
Method Summary
Modifier and TypeMethodDescriptionGet the ASCII-encoded signature of this message.void
setSignature
(String signature) Set the ASCII-encoded signature of this message.Methods inherited from interface org.ka2ddo.ax25.SendableMessage
disableForTransmit, dup, getBody, isEnabled
Methods inherited from interface org.ka2ddo.ax25.SignableMessage
getKeyAlias, getOriginatingCallsign, getSignatureState, getTimestamp, setKeyAlias, writeToSigningBuf
-
Method Details
-
getSignature
String getSignature()Get the ASCII-encoded signature of this message.- Returns:
- ASCII String of the signature, or null if not signed
-
setSignature
Set the ASCII-encoded signature of this message.- Parameters:
signature
- String of the signature, or null to remove any pre-existing signature
-