public final class SSRadioMessage
extends java.lang.Object
FedCommMessage
,
PrivateMessage
,
TradeWarsMessage
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Gets the event class name.
|
java.lang.String |
getMessage()
Gets the message text.
|
Trader |
getSender()
Gets the sender of the message.
|
boolean |
isEventClass(java.lang.Class eventClass)
Indicates if this event matches a given event class.
|
boolean |
isUserDefined()
Indicates if this event is user defined or not.
|
boolean |
wasEncrypted()
Indicates if the message was encrypted or not.
|
public java.lang.String getMessage()
public boolean wasEncrypted()
true
if the message was encrypted,
otherwise false
.public Trader getSender()
public final boolean isEventClass(java.lang.Class eventClass)
EventIfc
isEventClass
in interface EventIfc
eventClass
- The event class.true
if this event is of the same class,
otherwise false
.public final boolean isUserDefined()
EventIfc
isUserDefined
in interface EventIfc
true
if user defined, otherwise false
.public final java.lang.String getClassName()
EventIfc
getClassName
in interface EventIfc