A - actor involvedpublic abstract class ActorPrivateMessageEventBase<A extends Actor> extends ActorMessageEventBase<A> implements PrivateEvent
ActorEvent, 
MessageEvent, 
PrivateEvent| Modifier | Constructor and Description | 
|---|---|
protected  | 
ActorPrivateMessageEventBase(@NonNull Client client,
                            @NonNull ServerMessage sourceMessage,
                            A actor,
                            @NonNull String target,
                            @NonNull String message)
Constructs the event. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NonNull String | 
getTarget()
Gets the target of this message. 
 | 
boolean | 
isToClient()
Gets if the target of the message is this client. 
 | 
protected @NonNull ToStringer | 
toStringer()
Generates a partial  
ToStringer for the command. | 
getMessagegetActorgetSourcegetClient, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSource, getTag, getTag, getTagsgetClientprotected ActorPrivateMessageEventBase(@NonNull Client client, @NonNull ServerMessage sourceMessage, A actor, @NonNull String target, @NonNull String message)
client - the clientsourceMessage - source messageactor - the actortarget - target of the messagemessage - the messagepublic @NonNull String getTarget()
PrivateEventgetTarget in interface PrivateEventpublic boolean isToClient()
PrivateEventisToClient in interface PrivateEventannotation to filter only these eventsprotected @NonNull ToStringer toStringer()
ClientEventBaseToStringer for the command.toStringer in class ActorMessageEventBase<A extends Actor>Copyright © 2013–2021 Kitteh. All rights reserved.