Package org.apache.activemq.command
Class RemoveSubscriptionInfo
- java.lang.Object
-
- org.apache.activemq.command.BaseCommand
-
- org.apache.activemq.command.RemoveSubscriptionInfo
-
- All Implemented Interfaces:
Command
,DataStructure
public class RemoveSubscriptionInfo extends BaseCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected String
clientId
protected ConnectionId
connectionId
static byte
DATA_STRUCTURE_TYPE
protected String
subscriptionName
-
Fields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired
-
-
Constructor Summary
Constructors Constructor Description RemoveSubscriptionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClientId()
ConnectionId
getConnectionId()
byte
getDataStructureType()
String
getSubcriptionName()
String
getSubscriptionName()
void
setClientId(String clientId)
void
setConnectionId(ConnectionId connectionId)
void
setSubcriptionName(String subscriptionName)
void
setSubscriptionName(String subscriptionName)
Response
visit(CommandVisitor visitor)
-
Methods inherited from class org.apache.activemq.command.BaseCommand
copy, getCommandId, getFrom, getTo, isBrokerInfo, isConnectionControl, isConsumerControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString
-
-
-
-
Field Detail
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
-
connectionId
protected ConnectionId connectionId
-
clientId
protected String clientId
-
subscriptionName
protected String subscriptionName
-
-
Method Detail
-
getDataStructureType
public byte getDataStructureType()
- Returns:
- The type of the data structure
-
getConnectionId
public ConnectionId getConnectionId()
-
setConnectionId
public void setConnectionId(ConnectionId connectionId)
-
getSubcriptionName
public String getSubcriptionName()
-
setSubcriptionName
public void setSubcriptionName(String subscriptionName)
-
getSubscriptionName
public String getSubscriptionName()
-
setSubscriptionName
public void setSubscriptionName(String subscriptionName)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
visit
public Response visit(CommandVisitor visitor) throws Exception
- Throws:
Exception
-
-