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.
  • Field Details

  • Constructor Details

    • ControlCommand

      public ControlCommand()
  • Method Details

    • 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