Package org.apache.activemq.command
Class ControlCommand
java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.ControlCommand
- All Implemented Interfaces:
Command
,DataStructure
Used to start and stop transports as well as terminating clients.
-
Field Summary
FieldsFields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte
void
setCommand
(String command) visit
(CommandVisitor visitor) Methods inherited from class org.apache.activemq.command.BaseCommand
copy, getCommandId, getFrom, getTo, isBrokerInfo, isConnectionControl, isConsumerControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString
-
Field Details
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE- See Also:
-
-
Constructor Details
-
ControlCommand
public ControlCommand()
-
-
Method Details
-
getDataStructureType
public byte getDataStructureType()- Returns:
- The type of the data structure
-
getCommand
-
setCommand
-
visit
- Throws:
Exception
-