@FunctionalInterface
public interface MsgEventListener
Modifier and Type | Method and Description |
---|---|
void |
msgEventHappened(MsgEventType type,
StationState ss,
AX25Message msg,
java.lang.String text,
java.lang.Object otherParam)
Called when YAAC detects an event of interest to the listener.
|
void msgEventHappened(MsgEventType type, StationState ss, AX25Message msg, java.lang.String text, java.lang.Object otherParam)
type
- MsgEventType identifying the type of eventss
- StationState of the station reporting the event, or null if not related to a station or objectmsg
- AX25Message of a decoded packet if the event is associated with a packet, null otherwisetext
- String text associated with the event, or nullotherParam
- Object of some other type associated with the event, or null