org.apache.activemq.command
Class ControlCommand

java.lang.Object
  extended by org.apache.activemq.command.BaseCommand
      extended by 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.


Field Summary
static byte DATA_STRUCTURE_TYPE
           
 
Fields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired
 
Constructor Summary
ControlCommand()
           
 
Method Summary
 String getCommand()
           
 byte getDataStructureType()
           
 void setCommand(String command)
           
 Response visit(CommandVisitor visitor)
           
 
Methods inherited from class org.apache.activemq.command.BaseCommand
copy, getCommandId, getFrom, getTo, isBrokerInfo, isConnectionControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATA_STRUCTURE_TYPE

public static final byte DATA_STRUCTURE_TYPE
See Also:
Constant Field Values
Constructor Detail

ControlCommand

public ControlCommand()
Method Detail

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-2013 The Apache Software Foundation. All Rights Reserved.