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
public class IntegerResponse
- extends Response
- Version:
- $Revision$
Methods inherited from class org.apache.activemq.command.BaseCommand |
copy, getCommandId, getFrom, getTo, isBrokerInfo, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
IntegerResponse
public IntegerResponse()
IntegerResponse
public IntegerResponse(int result)
getDataStructureType
public byte getDataStructureType()
- Specified by:
getDataStructureType
in interface DataStructure
- Overrides:
getDataStructureType
in class Response
- Returns:
- The type of the data structure
getResult
public int getResult()
setResult
public void setResult(int result)
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.