public class Response extends BaseCommand
| Modifier and Type | Field and Description |
|---|---|
static byte |
DATA_STRUCTURE_TYPE |
commandId, responseRequired| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCorrelationId() |
byte |
getDataStructureType() |
boolean |
isException() |
boolean |
isResponse() |
void |
setCorrelationId(int responseId) |
Response |
visit(CommandVisitor visitor) |
copy, getCommandId, getFrom, getTo, isBrokerInfo, isConnectionControl, isConsumerControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toStringpublic static final byte DATA_STRUCTURE_TYPE
public Response()
public byte getDataStructureType()
public int getCorrelationId()
public void setCorrelationId(int responseId)
public boolean isResponse()
isResponse in interface CommandisResponse in class BaseCommandpublic boolean isException()
public Response visit(CommandVisitor visitor) throws Exception
ExceptionCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.