Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » command » [javadoc | source]
public interface: Command [javadoc | source]

All Implemented Interfaces:

The Command Pattern so that we can send and receive commands on the different transports
Method from org.apache.activemq.command.Command Summary:
getCommandId,   getFrom,   getTo,   isBrokerInfo,   isMessage,   isMessageAck,   isMessageDispatch,   isMessageDispatchNotification,   isResponse,   isResponseRequired,   isShutdownInfo,   isWireFormatInfo,   setCommandId,   setFrom,   setResponseRequired,   setTo,   visit
Method from org.apache.activemq.command.Command Detail:
 public int getCommandId()
 public Endpoint getFrom()
    The endpoint within the transport where this message came from which could be null if the transport only supports a single endpoint.
 public Endpoint getTo()
    The endpoint within the transport where this message is going to - null means all endpoints.
 public boolean isBrokerInfo()
 public boolean isMessage()
 public boolean isMessageAck()
 public boolean isMessageDispatch()
 public boolean isMessageDispatchNotification()
 public boolean isResponse()
 public boolean isResponseRequired()
 public boolean isShutdownInfo()
 public boolean isWireFormatInfo()
 public  void setCommandId(int value)
 public  void setFrom(Endpoint from)
 public  void setResponseRequired(boolean responseRequired)
 public  void setTo(Endpoint to)
 public Response visit(CommandVisitor visitor) throws Exception