public class RemoveInfo extends BaseCommand
Modifier and Type | Field and Description |
---|---|
static byte |
DATA_STRUCTURE_TYPE |
static int |
LAST_DELIVERED_UNKNOWN |
static int |
LAST_DELIVERED_UNSET |
protected long |
lastDeliveredSequenceId |
protected DataStructure |
objectId |
commandId, responseRequired
Constructor and Description |
---|
RemoveInfo() |
RemoveInfo(DataStructure objectId) |
Modifier and Type | Method and Description |
---|---|
byte |
getDataStructureType() |
long |
getLastDeliveredSequenceId() |
DataStructure |
getObjectId() |
boolean |
isConnectionRemove()
Returns true if this event is for a removed connection
|
boolean |
isConsumerRemove()
Returns true if this event is for a removed consumer
|
boolean |
isProducerRemove()
Returns true if this event is for a removed producer
|
boolean |
isSessionRemove()
Returns true if this event is for a removed session
|
void |
setLastDeliveredSequenceId(long lastDeliveredSequenceId) |
void |
setObjectId(DataStructure objectId) |
Response |
visit(CommandVisitor visitor) |
copy, getCommandId, getFrom, getTo, isBrokerInfo, isConnectionControl, isConsumerControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString
public static final byte DATA_STRUCTURE_TYPE
public static final int LAST_DELIVERED_UNSET
public static final int LAST_DELIVERED_UNKNOWN
protected DataStructure objectId
protected long lastDeliveredSequenceId
public RemoveInfo()
public RemoveInfo(DataStructure objectId)
public byte getDataStructureType()
public DataStructure getObjectId()
public void setObjectId(DataStructure objectId)
public long getLastDeliveredSequenceId()
public void setLastDeliveredSequenceId(long lastDeliveredSequenceId)
public Response visit(CommandVisitor visitor) throws Exception
Exception
public boolean isConnectionRemove()
public boolean isSessionRemove()
public boolean isConsumerRemove()
public boolean isProducerRemove()
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.