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, toString
public 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 Command
isResponse
in class BaseCommand
public boolean isException()
public Response visit(CommandVisitor visitor) throws Exception
Exception
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.