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.


Method Summary
 java.lang.String getComment()
          Get the free-text comment.
 void setComment(java.lang.String comment)
          Change the free-text comment on a locally-originated message.
 

Method Detail

getComment

java.lang.String getComment()
Get the free-text comment.

Returns:
comment text String for this message, or empty String if no comment

setComment

void setComment(java.lang.String comment)
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