org.apache.activemq.command
Class ControlCommand
java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.ControlCommand
- All Implemented Interfaces:
- Command, DataStructure
public class ControlCommand
- extends BaseCommand
Used to start and stop transports as well as terminating clients.
- Version:
- $Revision: 1.1 $
Methods inherited from class org.apache.activemq.command.BaseCommand |
copy, getCommandId, getFrom, getTo, isBrokerInfo, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
ControlCommand
public ControlCommand()
getDataStructureType
public byte getDataStructureType()
- Returns:
- The type of the data structure
getCommand
public String getCommand()
setCommand
public void setCommand(String command)
visit
public Response visit(CommandVisitor visitor)
throws Exception
- Throws:
Exception
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.