org.apache.activemq.command
Class ConnectionControl
java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.ConnectionControl
- All Implemented Interfaces:
- Command, DataStructure
public class ConnectionControl
- 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
suspend
protected boolean suspend
resume
protected boolean resume
close
protected boolean close
exit
protected boolean exit
faultTolerant
protected boolean faultTolerant
ConnectionControl
public ConnectionControl()
getDataStructureType
public byte getDataStructureType()
- Returns:
- The type of the data structure
visit
public Response visit(CommandVisitor visitor)
throws java.lang.Exception
- Throws:
java.lang.Exception
isClose
public boolean isClose()
- Returns:
- Returns the close.
setClose
public void setClose(boolean close)
- Parameters:
close
- The close to set.
isExit
public boolean isExit()
- Returns:
- Returns the exit.
setExit
public void setExit(boolean exit)
- Parameters:
exit
- The exit to set.
isFaultTolerant
public boolean isFaultTolerant()
- Returns:
- Returns the faultTolerant.
setFaultTolerant
public void setFaultTolerant(boolean faultTolerant)
- Parameters:
faultTolerant
- The faultTolerant to set.
isResume
public boolean isResume()
- Returns:
- Returns the resume.
setResume
public void setResume(boolean resume)
- Parameters:
resume
- The resume to set.
isSuspend
public boolean isSuspend()
- Returns:
- Returns the suspend.
setSuspend
public void setSuspend(boolean suspend)
- Parameters:
suspend
- The suspend to set.
Copyright © 2009 Apache Software Foundation. All Rights Reserved.