Package org.apache.activemq.command
Class IntegerResponse
java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.Response
org.apache.activemq.command.IntegerResponse
- All Implemented Interfaces:
Command
,DataStructure
-
Field Summary
Fields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.activemq.command.Response
getCorrelationId, isException, isResponse, setCorrelationId, visit
Methods inherited from class org.apache.activemq.command.BaseCommand
copy, getCommandId, getFrom, getTo, isBrokerInfo, isConnectionControl, isConsumerControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString
-
Field Details
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE- See Also:
-
-
Constructor Details
-
IntegerResponse
public IntegerResponse() -
IntegerResponse
public IntegerResponse(int result)
-
-
Method Details
-
getDataStructureType
public byte getDataStructureType()- Specified by:
getDataStructureType
in interfaceDataStructure
- Overrides:
getDataStructureType
in classResponse
- Returns:
- The type of the data structure
-
getResult
public int getResult() -
setResult
public void setResult(int result)
-