A
- actor involvedpublic abstract class ActorChannelMessageEventBase<A extends Actor> extends ActorChannelEventBase<A> implements MessageEvent
ActorEvent
,
ChannelEvent
,
MessageEvent
Modifier | Constructor and Description |
---|---|
protected |
ActorChannelMessageEventBase(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
A actor,
@NonNull Channel channel,
@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. |
getChannel
getActor
getSource
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSource, getTag, getTag, getTags
getClient
protected ActorChannelMessageEventBase(@NonNull Client client, @NonNull ServerMessage sourceMessage, A actor, @NonNull Channel channel, @NonNull String message)
client
- the clientsourceMessage
- source messageactor
- the actorchannel
- the channelmessage
- the messagepublic final @NonNull String getMessage()
MessageEvent
getMessage
in interface MessageEvent
protected @NonNull ToStringer toStringer()
ClientEventBase
ToStringer
for the command.toStringer
in class ActorChannelEventBase<A extends Actor>
Copyright © 2013–2021 Kitteh. All rights reserved.