public class PrivateNoticeEvent extends ActorPrivateMessageEventBase<User> implements ActorMessageEvent<User>, ReplyableEvent
Constructor and Description |
---|
PrivateNoticeEvent(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
@NonNull User sender,
@NonNull String target,
@NonNull String message)
Creates the event.
|
Modifier and Type | Method and Description |
---|---|
void |
sendReply(@NonNull String message)
Sends a reply to this message.
|
getTarget, isToClient, toStringer
getMessage
getActor
getSource
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActor
getMessage
getSource, getTag, getTag, getTags
getClient
public PrivateNoticeEvent(@NonNull Client client, @NonNull ServerMessage sourceMessage, @NonNull User sender, @NonNull String target, @NonNull String message)
client
- client for which this is occurringsourceMessage
- source messagesender
- who sent ittarget
- target of the messagemessage
- message sentpublic void sendReply(@NonNull String message)
ReplyableEvent
sendReply
in interface ReplyableEvent
message
- message to send backCopyright © 2013–2021 Kitteh. All rights reserved.