public interface Command extends DataStructure
Modifier and Type | Method and Description |
---|---|
int |
getCommandId() |
Endpoint |
getFrom()
The endpoint within the transport where this message came from which
could be null if the transport only supports a single endpoint.
|
Endpoint |
getTo()
The endpoint within the transport where this message is going to - null
means all endpoints.
|
boolean |
isBrokerInfo() |
boolean |
isConnectionControl() |
boolean |
isConsumerControl() |
boolean |
isMessage() |
boolean |
isMessageAck() |
boolean |
isMessageDispatch() |
boolean |
isMessageDispatchNotification() |
boolean |
isResponse() |
boolean |
isResponseRequired() |
boolean |
isShutdownInfo() |
boolean |
isWireFormatInfo() |
void |
setCommandId(int value) |
void |
setFrom(Endpoint from) |
void |
setResponseRequired(boolean responseRequired) |
void |
setTo(Endpoint to) |
Response |
visit(CommandVisitor visitor) |
getDataStructureType, isMarshallAware
void setCommandId(int value)
int getCommandId()
void setResponseRequired(boolean responseRequired)
boolean isResponseRequired()
boolean isResponse()
boolean isMessageDispatch()
boolean isBrokerInfo()
boolean isWireFormatInfo()
boolean isMessage()
boolean isMessageAck()
boolean isMessageDispatchNotification()
boolean isShutdownInfo()
boolean isConnectionControl()
boolean isConsumerControl()
Response visit(CommandVisitor visitor) throws Exception
Exception
Endpoint getFrom()
Endpoint getTo()
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.