Package org.ka2ddo.ax25
Interface CommentedMessage
- All Known Implementing Classes:
DefaultMessage
,GpsRawMessage
,MaidenheadLocatorBeacon
,Message
,MessageMessage
,MicE
,ObjectReport
,PositionlessWeatherReport
,PositionMessage
,PositionReport
,Query
,StationCapabilities
,StatusMessage
,TelemetryMessage
,UltimeterRawMessage
public interface CommentedMessage
Marks an
AX25Message
as being one with a free-text comment in it.- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionGet the free-text comment.void
setComment
(String comment) Change the free-text comment on a locally-originated message.
-
Method Details
-
getComment
String getComment()Get the free-text comment.- Returns:
- comment text String for this message, or empty String if no comment
-
setComment
Change the free-text comment on a locally-originated message. Read-only message objects can choose to do nothing when this method is called.- Parameters:
comment
- new free-text comment String to associate with this message
-