org.apache.activemq.command
Class RemoveInfo
java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.RemoveInfo
- All Implemented Interfaces:
- Command, DataStructure
public class RemoveInfo
- extends BaseCommand
Removes a consumer, producer, session or connection.
- Version:
- $Revision$
Methods inherited from class org.apache.activemq.command.BaseCommand |
copy, getCommandId, getFrom, getTo, isBrokerInfo, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
objectId
protected DataStructure objectId
RemoveInfo
public RemoveInfo()
RemoveInfo
public RemoveInfo(DataStructure objectId)
getDataStructureType
public byte getDataStructureType()
- Returns:
- The type of the data structure
getObjectId
public DataStructure getObjectId()
setObjectId
public void setObjectId(DataStructure objectId)
visit
public Response visit(CommandVisitor visitor)
throws java.lang.Exception
- Throws:
java.lang.Exception
isConnectionRemove
public boolean isConnectionRemove()
- Returns true if this event is for a removed connection
isSessionRemove
public boolean isSessionRemove()
- Returns true if this event is for a removed session
isConsumerRemove
public boolean isConsumerRemove()
- Returns true if this event is for a removed consumer
isProducerRemove
public boolean isProducerRemove()
- Returns true if this event is for a removed producer
Copyright © 2009 Apache Software Foundation. All Rights Reserved.