public abstract class ServerMessageEventBase extends ClientEventBase implements ServerMessageEvent
ServerMessageEvent
Modifier | Constructor and Description |
---|---|
protected |
ServerMessageEventBase(@NonNull Client client,
@NonNull ServerMessage sourceMessage)
Constructs the event.
|
Modifier and Type | Method and Description |
---|---|
@NonNull ServerMessage |
getSource()
Gets the server-sent message that caused this event.
|
protected @NonNull ToStringer |
toStringer()
Generates a partial
ToStringer for the command. |
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTag, getTag, getTags
getClient
protected ServerMessageEventBase(@NonNull Client client, @NonNull ServerMessage sourceMessage)
client
- the clientsourceMessage
- source messagepublic @NonNull ServerMessage getSource()
ServerMessageEvent
getSource
in interface ServerMessageEvent
protected @NonNull ToStringer toStringer()
ClientEventBase
ToStringer
for the command.toStringer
in class ClientEventBase
Copyright © 2013–2021 Kitteh. All rights reserved.