public interface CommandProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMAND_FUNCTION
A list of method names that may be called for this command provider.
|
static java.lang.String |
COMMAND_SCOPE
The scope of commands provided by this service.
|
Modifier and Type | Method and Description |
---|---|
CommandSession |
createSession(CommandSession parent) |
CommandSession |
createSession(java.io.InputStream in,
java.io.OutputStream out,
java.io.OutputStream err)
Create a new command session associated with IO streams.
|
static final java.lang.String COMMAND_SCOPE
static final java.lang.String COMMAND_FUNCTION
CommandSession createSession(java.io.InputStream in, java.io.OutputStream out, java.io.OutputStream err)
in
- The value used for System.inout
- The stream used for System.outerr
- The stream used for System.errCommandSession createSession(CommandSession parent)