1 18 package org.apache.activemq.command; 19 20 25 public class DataArrayResponse extends Response { 26 27 DataStructure data[]; 28 29 public static final byte DATA_STRUCTURE_TYPE=CommandTypes.DATA_ARRAY_RESPONSE; 30 31 public DataArrayResponse() { 32 } 33 public DataArrayResponse(DataStructure data[]) { 34 this.data=data; 35 } 36 37 public byte getDataStructureType() { 38 return DATA_STRUCTURE_TYPE; 39 } 40 41 44 public DataStructure[] getData() { 45 return data; 46 } 47 public void setData(DataStructure[] data) { 48 this.data = data; 49 } 50 51 } 52 | Popular Tags |