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