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