|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Command
The Command Pattern so that we can send and receive commands on the different transports
Method Summary | |
---|---|
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 |
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)
|
Methods inherited from interface org.apache.activemq.command.DataStructure |
---|
getDataStructureType, isMarshallAware |
Method Detail |
---|
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()
Response visit(CommandVisitor visitor) throws java.lang.Exception
java.lang.Exception
Endpoint getFrom()
void setFrom(Endpoint from)
Endpoint getTo()
void setTo(Endpoint to)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |