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