VOID_RESPONSE
Constructor and Description |
---|
DisableCommand() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Object |
readResponseInternal(CommandReader reader)
Reads and returns the response from the reader.
|
void |
writeBody(CommandSender sender)
Writes the body of the command.
|
getResponse, isResponseReceived, readResponse
public Object readResponseInternal(CommandReader reader) throws IOException
Command
readResponseInternal
in class Command<Object>
reader
- the reader used to read the response.IOException
- if an I/O error occurs.public void writeBody(CommandSender sender) throws IOException
Command
writeBody
in class Command<Object>
sender
- the sender used to send the command.IOException
- if an I/O error occurs.