1 18 package org.apache.activemq.command; 19 20 import org.apache.activemq.state.CommandVisitor; 21 22 27 public class RemoveSubscriptionInfo extends BaseCommand { 28 29 public static final byte DATA_STRUCTURE_TYPE=CommandTypes.REMOVE_SUBSCRIPTION_INFO; 30 31 protected ConnectionId connectionId; 32 protected String clientId; 33 protected String subcriptionName; 34 35 36 public byte getDataStructureType() { 37 return DATA_STRUCTURE_TYPE; 38 } 39 40 43 public ConnectionId getConnectionId() { 44 return connectionId; 45 } 46 public void setConnectionId(ConnectionId connectionId) { 47 this.connectionId = connectionId; 48 } 49 50 53 public String getSubcriptionName() { 54 return subcriptionName; 55 } 56 57 public void setSubcriptionName(String subcriptionName) { 58 this.subcriptionName = subcriptionName; 59 } 60 61 64 public String getClientId() { 65 return clientId; 66 } 67 68 public void setClientId(String clientId) { 69 this.clientId = clientId; 70 } 71 72 public Response visit(CommandVisitor visitor) throws Exception { 73 return visitor.processRemoveSubscription( this ); 74 } 75 76 } 77 | Popular Tags |