public static class MsgEventDispatcher.QueuedMsgEvent
extends java.lang.Object
| Constructor and Description |
|---|
QueuedMsgEvent(MsgEventType type,
StationState ss,
AX25Message msg,
java.lang.String text,
java.lang.Object other)
Create a QueuedMsgEvent object with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fire()
Trigger the event notification for this queued set of parameters under safe circumstances.
|
AX25Message |
getMsg()
Get the AX.25 decoded message associated with this event.
|
java.lang.Object |
getOther()
Get the other type of Java Object associated with this event.
|
StationState |
getStationState()
Get the StationState for the station or object this event is about.
|
java.lang.String |
getText()
Get the arbitrary text string associated with this event.
|
MsgEventType |
getType()
Get the type of event this object is describing.
|
public QueuedMsgEvent(MsgEventType type, StationState ss, AX25Message msg, java.lang.String text, java.lang.Object other)
type - MsgEventType of eventss - StationState associated with eventmsg - AX25Message associated with eventtext - String associated with eventother - Object of some other class associated with the eventpublic void fire()
public MsgEventType getType()
public StationState getStationState()
public AX25Message getMsg()
public java.lang.String getText()
public java.lang.Object getOther()
MsgEventType.