Represents a remctl command token. This token is sent by a client to a server to run a command on the server.
Whether the keep-alive flag is set on the message.
The arguments of the command.
Construct a command token with the given keep-alive status and command arguments.
Whether to keep the connection open after completing this command
Command and arguments
Invalid argument to constructor
Determine the length of this command message token.
- The length of the wire representation of the data payload of this command token
Write the wire representation of this command token to the provided output stream.
Output stream to which to write the encoded token
On errors writing to the output stream
the keepalive to set
Return a copy of the arguments used in the command.
- the args the arguments