public abstract class StandardReplyEvent extends ServerMessageEventBase
| Modifier and Type | Class and Description |
|---|---|
static class |
StandardReplyEvent.Type
Types of standard replies.
|
| Modifier | Constructor and Description |
|---|---|
protected |
StandardReplyEvent(@NonNull Client client,
@NonNull ServerMessage sourceMessage,
@NonNull StandardReplyEvent.Type type,
@NonNull String command,
@NonNull String code,
@NonNull List<String> context,
@NonNull String description)
Constructs the event.
|
| Modifier and Type | Method and Description |
|---|---|
@NonNull String |
getCode()
Gets the code for this message.
|
@NonNull String |
getCommand()
Gets the command this message is about, or "*" for no command.
|
@NonNull List<String> |
getContext()
Gets the context, if any, for this message.
|
@NonNull String |
getDescription()
Gets the description.
|
@NonNull StandardReplyEvent.Type |
getType()
Gets the type of standard reply this is.
|
getSource, toStringergetClient, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTag, getTag, getTagsgetClientprotected StandardReplyEvent(@NonNull Client client, @NonNull ServerMessage sourceMessage, @NonNull StandardReplyEvent.Type type, @NonNull String command, @NonNull String code, @NonNull List<String> context, @NonNull String description)
client - the clientsourceMessage - source messagetype - the typecommand - the commandcode - the codecontext - the contextdescription - the descriptionpublic @NonNull StandardReplyEvent.Type getType()
public @NonNull String getCommand()
public @NonNull String getCode()
public @NonNull List<String> getContext()
public @NonNull String getDescription()
Copyright © 2013–2021 Kitteh. All rights reserved.