public class DestinationInfo extends BaseCommand
Modifier and Type | Field and Description |
---|---|
static byte |
ADD_OPERATION_TYPE |
protected BrokerId[] |
brokerPath |
protected ConnectionId |
connectionId |
static byte |
DATA_STRUCTURE_TYPE |
protected ActiveMQDestination |
destination |
protected byte |
operationType |
static byte |
REMOVE_OPERATION_TYPE |
protected long |
timeout |
commandId, responseRequired
Constructor and Description |
---|
DestinationInfo() |
DestinationInfo(ConnectionId connectionId,
byte operationType,
ActiveMQDestination destination) |
Modifier and Type | Method and Description |
---|---|
DestinationInfo |
copy() |
BrokerId[] |
getBrokerPath()
The route of brokers the command has moved through.
|
ConnectionId |
getConnectionId() |
byte |
getDataStructureType() |
ActiveMQDestination |
getDestination() |
byte |
getOperationType() |
long |
getTimeout() |
boolean |
isAddOperation() |
boolean |
isRemoveOperation() |
void |
setBrokerPath(BrokerId[] brokerPath) |
void |
setConnectionId(ConnectionId connectionId) |
void |
setDestination(ActiveMQDestination destination) |
void |
setOperationType(byte operationType) |
void |
setTimeout(long timeout) |
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 byte ADD_OPERATION_TYPE
public static final byte REMOVE_OPERATION_TYPE
protected ConnectionId connectionId
protected ActiveMQDestination destination
protected byte operationType
protected long timeout
protected BrokerId[] brokerPath
public DestinationInfo()
public DestinationInfo(ConnectionId connectionId, byte operationType, ActiveMQDestination destination)
public byte getDataStructureType()
public boolean isAddOperation()
public boolean isRemoveOperation()
public ConnectionId getConnectionId()
public void setConnectionId(ConnectionId connectionId)
public ActiveMQDestination getDestination()
public void setDestination(ActiveMQDestination destination)
public byte getOperationType()
public void setOperationType(byte operationType)
public long getTimeout()
public void setTimeout(long timeout)
public BrokerId[] getBrokerPath()
public void setBrokerPath(BrokerId[] brokerPath)
public Response visit(CommandVisitor visitor) throws Exception
Exception
public DestinationInfo copy()
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.