1 18 package org.apache.activemq.command; 19 20 import org.apache.activemq.state.CommandVisitor; 21 22 27 public class ShutdownInfo extends BaseCommand { 28 29 public static final byte DATA_STRUCTURE_TYPE=CommandTypes.SHUTDOWN_INFO; 30 31 public byte getDataStructureType() { 32 return DATA_STRUCTURE_TYPE; 33 } 34 35 public Response visit(CommandVisitor visitor) throws Exception { 36 return visitor.processShutdown( this ); 37 } 38 39 public boolean isShutdownInfo(){ 40 return true; 41 } 42 43 44 } 45 | Popular Tags |