public interface CommandExecutor
Command.| Modifier and Type | Method and Description |
|---|---|
CommandResponse |
execute(Command command,
InputStream in,
OutputStream out)
Executes the given command and returns its response.
|
CommandResponse execute(Command command, InputStream in, OutputStream out)
command - the command to executein - input stream should the executor want to get streamed data from the clientout - output stream should the executor want to stream data to the clientCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.