A
- actor involvedpublic abstract class ActorMessageEventBase<A extends Actor> extends ActorEventBase<A> implements MessageEvent
ActorEvent
,
MessageEvent
Modifier | Constructor and Description |
---|---|
protected |
ActorMessageEventBase(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
A actor,
@NonNull String message)
Constructs the event.
|
Modifier and Type | Method and Description |
---|---|
@NonNull String |
getMessage()
Gets the message.
|
protected @NonNull ToStringer |
toStringer()
Generates a partial
ToStringer for the command. |
getActor
getSource
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSource, getTag, getTag, getTags
getClient
protected ActorMessageEventBase(@NonNull Client client, @NonNull ServerMessage sourceMessage, A actor, @NonNull String message)
client
- the clientsourceMessage
- source messageactor
- the actormessage
- the messagepublic final @NonNull String getMessage()
MessageEvent
getMessage
in interface MessageEvent
protected @NonNull ToStringer toStringer()
ClientEventBase
ToStringer
for the command.toStringer
in class ActorEventBase<A extends Actor>
Copyright © 2013–2021 Kitteh. All rights reserved.