public static class DefaultServerMessage.NumericCommand extends DefaultServerMessage implements ServerMessage.NumericCommandServerMessage
NumericCommandServerMessage
.DefaultServerMessage.NumericCommand, DefaultServerMessage.StringCommand
ServerMessage.NumericCommandServerMessage, ServerMessage.StringCommandServerMessage
Constructor and Description |
---|
NumericCommand(int command,
@NonNull String message,
@NonNull List<MessageTag> tags)
Constructs a numeric command message.
|
Modifier and Type | Method and Description |
---|---|
int |
getCommand()
Gets this message's command.
|
getMessage, getTags, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessage, getTag, getTag, getTags
public NumericCommand(int command, @NonNull String message, @NonNull List<MessageTag> tags)
command
- numericmessage
- full messagetags
- message tagspublic int getCommand()
ServerMessage.NumericCommandServerMessage
getCommand
in interface ServerMessage.NumericCommandServerMessage
Copyright © 2013–2021 Kitteh. All rights reserved.