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, sendBoolean, sendByteArray, sendDouble, sendFloat, sendInputStream, sendInt, sendLong, sendString, startCommand
readBoolean, readByteArray, readCommand, readDouble, readFloat, readInputStream, readInt, readLong, readString, skipParameters
void close()
List<Object> readParameters() throws IOException
Method CommandReader.skipParameters()
must be called after to be ready to read the following command.
IOException