public class RemoteOutputStreamCommandResponse extends AbstractCommandResponse
| Constructor and Description |
|---|
RemoteOutputStreamCommandResponse(Command cmd,
Object results)
Constructor for
RemoteOutputStreamCommandResponse that defines a successfully invoked remote stream
method. |
RemoteOutputStreamCommandResponse(CommandResponse responseToTransform)
Constructor for
RemoteOutputStreamCommandResponse. |
RemoteOutputStreamCommandResponse(Command cmd,
Throwable exception)
Constructor for
RemoteOutputStreamCommandResponse that defines a failed remote stream invocation. |
getCommand, getException, getResults, isSuccessful, setCommand, setException, setResults, setSuccessful, toStringpublic RemoteOutputStreamCommandResponse(Command cmd, Object results)
RemoteOutputStreamCommandResponse that defines a successfully invoked remote stream
method.cmd - the command that was executed (may be null)results - the results of the InputStream method callpublic RemoteOutputStreamCommandResponse(Command cmd, Throwable exception)
RemoteOutputStreamCommandResponse that defines a failed remote stream invocation.cmd - the command that was executed (may be null)exception - the exception that describes the failure, if available (may be null)public RemoteOutputStreamCommandResponse(CommandResponse responseToTransform)
RemoteOutputStreamCommandResponse.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.