public interface RemoteConnection extends CommandSender, CommandReader
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection.
|
List<Object> |
readParameters()
Reads the parameters of a command.
|
void |
sendParams(List<Object> params)
Sends the given parameters.
|
flushCommand, getInputStream, getOutputStream, sendBoolean, sendByteArray, sendByteArray, sendDouble, sendFloat, sendInputStream, sendInt, sendLong, sendString, startCommandreadBoolean, readByteArray, readCommand, readDouble, readFloat, readInputStream, readInt, readLong, readObject, readString, skipParametersvoid close()
List<Object> readParameters() throws IOException
Method CommandReader.skipParameters() must be called after to be ready to read the following command.
IOException