org.apache.activemq.command
Class DataResponse

java.lang.Object
  extended by org.apache.activemq.command.BaseCommand
      extended by org.apache.activemq.command.Response
          extended by org.apache.activemq.command.DataResponse
All Implemented Interfaces:
Command, DataStructure

public class DataResponse
extends Response


Field Summary
static byte DATA_STRUCTURE_TYPE
           
 
Fields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired
 
Constructor Summary
DataResponse()
           
DataResponse(DataStructure data)
           
 
Method Summary
 DataStructure getData()
           
 byte getDataStructureType()
           
 void setData(DataStructure data)
           
 
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, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATA_STRUCTURE_TYPE

public static final byte DATA_STRUCTURE_TYPE
See Also:
Constant Field Values
Constructor Detail

DataResponse

public DataResponse()

DataResponse

public DataResponse(DataStructure data)
Method Detail

getDataStructureType

public byte getDataStructureType()
Specified by:
getDataStructureType in interface DataStructure
Overrides:
getDataStructureType in class Response
Returns:
The type of the data structure

getData

public DataStructure getData()

setData

public void setData(DataStructure data)


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.