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