public class IdentifyCommandResponse extends AbstractCommandResponse
identify command.| Constructor and Description |
|---|
IdentifyCommandResponse(Command cmd,
Identification ident)
Constructor for
IdentifyCommandResponse that defines a successfully executed identify command. |
IdentifyCommandResponse(CommandResponse responseToTransform)
Constructor for
IdentifyCommandResponse. |
IdentifyCommandResponse(Command cmd,
Throwable exception)
Constructor for
IdentifyCommandResponse that defines a failed identify command. |
| Modifier and Type | Method and Description |
|---|---|
Identification |
getIdentification()
Returns the remote server's identification information.
|
getCommand, getException, getResults, isSuccessful, setCommand, setException, setResults, setSuccessful, toStringpublic IdentifyCommandResponse(Command cmd, Identification ident)
IdentifyCommandResponse that defines a successfully executed identify command.cmd - the identify command that was executed (may be null)ident - the identification informationpublic IdentifyCommandResponse(Command cmd, Throwable exception)
IdentifyCommandResponse that defines a failed identify command.cmd - the identify command that was executed (may be null)exception - the exception that caused the failure, if available (may be null)public IdentifyCommandResponse(CommandResponse responseToTransform)
IdentifyCommandResponse.public Identification getIdentification()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.