public class IntegerResponse extends Response
Modifier and Type | Field and Description |
---|---|
static byte |
DATA_STRUCTURE_TYPE |
commandId, responseRequired
Constructor and Description |
---|
IntegerResponse() |
IntegerResponse(int result) |
Modifier and Type | Method and Description |
---|---|
byte |
getDataStructureType() |
int |
getResult() |
void |
setResult(int result) |
getCorrelationId, isException, isResponse, setCorrelationId, visit
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 IntegerResponse()
public IntegerResponse(int result)
public byte getDataStructureType()
getDataStructureType
in interface DataStructure
getDataStructureType
in class Response
public int getResult()
public void setResult(int result)
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.