public interface CommandSender
| Modifier and Type | Method and Description |
|---|---|
void |
flushCommand()
Ends the command frame.
|
void |
sendBoolean(boolean b)
Sends a boolean parameter.
|
void |
sendByteArray(byte[] a)
Sends a byte array parameter.
|
void |
sendDouble(double d)
Sends a double parameter.
|
void |
sendFloat(float f)
Sends a float parameter.
|
void |
sendInputStream(InputStream is)
Sends an input stream.
|
void |
sendInt(int i)
Sends an integer parameter.
|
void |
sendLong(long l)
Sends a long parameter.
|
void |
sendString(String string)
Sends a string parameter.
|
void |
startCommand(String command)
Starts a command.
|
void flushCommand()
void sendBoolean(boolean b)
b - the boolean to send.void sendByteArray(byte[] a)
a - the byte array to send.void sendDouble(double d)
d - the double to send.void sendFloat(float f)
f - the float to send.void sendInputStream(InputStream is)
is - the input stream to send.void sendInt(int i)
i - the integer to send.void sendLong(long l)
l - the long to send.void sendString(String string)
string - the string to send.void startCommand(String command)
A command can be followed by arguments.
command - the command name.