blob: f5188aa12c84e92e9f9d4246af0d94c85c26516a [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>activemq-cpp-3.4.0: activemq::commands::ConnectionControl Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">activemq-cpp-3.4.0</div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
</ul>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
initNavTree('classactivemq_1_1commands_1_1_connection_control.html','');
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> </div>
<div class="headertitle">
<h1>activemq::commands::ConnectionControl Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="activemq::commands::ConnectionControl" --><!-- doxytag: inherits="activemq::commands::BaseCommand" -->
<p><code>#include &lt;<a class="el" href="_connection_control_8h_source.html">src/main/activemq/commands/ConnectionControl.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for activemq::commands::ConnectionControl:</div>
<div class="dyncontent">
<div class="center"><img src="classactivemq_1_1commands_1_1_connection_control__inherit__graph.png" border="0" usemap="#activemq_1_1commands_1_1_connection_control_inherit__map" alt="Inheritance graph"/></div>
<map name="activemq_1_1commands_1_1_connection_control_inherit__map" id="activemq_1_1commands_1_1_connection_control_inherit__map">
<area shape="rect" id="node2" href="classactivemq_1_1commands_1_1_base_command.html" title="activemq::commands::BaseCommand" alt="" coords="21,315,301,344"/><area shape="rect" id="node4" href="classactivemq_1_1commands_1_1_command.html" title="activemq::commands::Command" alt="" coords="39,237,284,267"/><area shape="rect" id="node6" href="classactivemq_1_1commands_1_1_base_data_structure.html" title="activemq::commands::BaseDataStructure" alt="" coords="5,160,317,189"/><area shape="rect" id="node8" href="classactivemq_1_1commands_1_1_data_structure.html" title="activemq::commands::DataStructure" alt="" coords="23,83,300,112"/><area shape="rect" id="node10" href="classactivemq_1_1wireformat_1_1_marshal_aware.html" title="activemq::wireformat::MarshalAware" alt="" coords="25,5,297,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#aa33fd31f756bea2a6699dba2160604e4">ConnectionControl</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a2047c4278cbdc2d271528740e0cb577c">~ConnectionControl</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a009238eb119e15f511e197f325ddf6c8">getDataStructureType</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html">DataStructure</a> Type as defined in CommandTypes.h. <a href="#a009238eb119e15f511e197f325ddf6c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html">ConnectionControl</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a9a7acc6605b9b4132d89d4cc257bcc4e">cloneDataStructure</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one. <a href="#a9a7acc6605b9b4132d89d4cc257bcc4e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#af3b2e73836cd2e4aadf096ffc0104064">copyDataStructure</a> (const <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html">DataStructure</a> *src)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy the contents of the passed object into this objects members, overwriting any existing data. <a href="#af3b2e73836cd2e4aadf096ffc0104064"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a942183ee67cfa030633943a9174e7a78">toString</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a string containing the information for this <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html">DataStructure</a> such as its type and value of its elements. <a href="#a942183ee67cfa030633943a9174e7a78"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a8a9f4ed80e36779bb4c810d456c0453b">equals</a> (const <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html">DataStructure</a> *value) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares the <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html">DataStructure</a> passed in to this one, and returns if they are equivalent. <a href="#a8a9f4ed80e36779bb4c810d456c0453b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#abaa9c958f64477c6a5338db528b395a1">isClose</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#af497443a41c888546198506aa113008a">setClose</a> (bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a40deef0a59147bbd0e266221f84b52b7">close</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#ad03bc0e6979d7dfbf71987df309ce0a6">isExit</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a934ed72609e2953d872a0c3452288be0">setExit</a> (bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#afab383f7d9d33b7acc230ba681bbeb0d">exit</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#ae4d6b5092bc37d3a2c21cb16d4daafdf">isFaultTolerant</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#ae3c7f8c218da2819bcd85772aaeecad0">setFaultTolerant</a> (bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#abad7d7e59ccd06bfbd5a4db75ea4440d">faultTolerant</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#acaa79b1570d0aa1f0016fb9c9c37007d">isResume</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a508a64e84368cbd0ebfdcdad91cd4c38">setResume</a> (bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a179786f4ab128d1f533447cf36043f4b">resume</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#adc87cf7fec67de68d4de7027dc9954f7">isSuspend</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#aa43da0e121a00c85deba33402e9f7ae6">setSuspend</a> (bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#aa4ce83e526c17ed047c23d3054ce3735">suspend</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a639de0c3b166e3f7d3c4d5f37cb1dbad">getConnectedBrokers</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a41c48c566c7f4e4777fb4261be9c872b">getConnectedBrokers</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a17e01ebd9d3d441f9543169702493779">setConnectedBrokers</a> (const std::string &amp;<a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a3138847451c5246f7fb0b1cc4f3cd1ab">connectedBrokers</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#acaac77e3ddb4c1dc325ba0c1bdda8ec7">getReconnectTo</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a4ba3b5393742335850a676f98cc2a8a8">getReconnectTo</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a3728c5db9916a9b780ec76034c5dbb8b">setReconnectTo</a> (const std::string &amp;<a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a4fb473c5cca0875385ab2c6d524548d8">reconnectTo</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#aacb3a2d82a307516c9c9d6f4c32e98cb">isRebalanceConnection</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#ad6556b6a860e09ef49459133bb1186e5">setRebalanceConnection</a> (bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#ac920e55db1a7d8f2a0fe15d07040a09a">rebalanceConnection</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a84ff1a3b606ffd12aca809d653288106">isConnectionControl</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classdecaf_1_1lang_1_1_pointer.html">Pointer</a>&lt; <a class="el" href="classactivemq_1_1commands_1_1_command.html">Command</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#adf151e072f83b1855cd987939d7a0328">visit</a> (<a class="el" href="classactivemq_1_1state_1_1_command_visitor.html">activemq::state::CommandVisitor</a> *visitor)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Allows a Visitor to visit this command and return a response to the command based on the command type being visited. <a href="#adf151e072f83b1855cd987939d7a0328"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a8cb2b34b83be1eebf148418573d0ec2b">ID_CONNECTIONCONTROL</a> = 18</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a40deef0a59147bbd0e266221f84b52b7">close</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#afab383f7d9d33b7acc230ba681bbeb0d">exit</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#abad7d7e59ccd06bfbd5a4db75ea4440d">faultTolerant</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a179786f4ab128d1f533447cf36043f4b">resume</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#aa4ce83e526c17ed047c23d3054ce3735">suspend</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a3138847451c5246f7fb0b1cc4f3cd1ab">connectedBrokers</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a4fb473c5cca0875385ab2c6d524548d8">reconnectTo</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#ac920e55db1a7d8f2a0fe15d07040a09a">rebalanceConnection</a></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa33fd31f756bea2a6699dba2160604e4"></a><!-- doxytag: member="activemq::commands::ConnectionControl::ConnectionControl" ref="aa33fd31f756bea2a6699dba2160604e4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">activemq::commands::ConnectionControl::ConnectionControl </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a2047c4278cbdc2d271528740e0cb577c"></a><!-- doxytag: member="activemq::commands::ConnectionControl::~ConnectionControl" ref="a2047c4278cbdc2d271528740e0cb577c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual activemq::commands::ConnectionControl::~ConnectionControl </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9a7acc6605b9b4132d89d4cc257bcc4e"></a><!-- doxytag: member="activemq::commands::ConnectionControl::cloneDataStructure" ref="a9a7acc6605b9b4132d89d4cc257bcc4e" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html">ConnectionControl</a>* activemq::commands::ConnectionControl::cloneDataStructure </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>new copy of this object. </dd></dl>
<p>Implements <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html#affc93e43d4561e483007723a9492027c">activemq::commands::DataStructure</a>.</p>
</div>
</div>
<a class="anchor" id="af3b2e73836cd2e4aadf096ffc0104064"></a><!-- doxytag: member="activemq::commands::ConnectionControl::copyDataStructure" ref="af3b2e73836cd2e4aadf096ffc0104064" args="(const DataStructure *src)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::commands::ConnectionControl::copyDataStructure </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html">DataStructure</a> *&#160;</td>
<td class="paramname"><em>src</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Copy the contents of the passed object into this objects members, overwriting any existing data. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>src - Source Object </dd></dl>
<p>Reimplemented from <a class="el" href="classactivemq_1_1commands_1_1_base_command.html#af90ce7c13f771c71123ca6fc2468c7bd">activemq::commands::BaseCommand</a>.</p>
</div>
</div>
<a class="anchor" id="a8a9f4ed80e36779bb4c810d456c0453b"></a><!-- doxytag: member="activemq::commands::ConnectionControl::equals" ref="a8a9f4ed80e36779bb4c810d456c0453b" args="(const DataStructure *value) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool activemq::commands::ConnectionControl::equals </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html">DataStructure</a> *&#160;</td>
<td class="paramname"><em>value</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Compares the <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html">DataStructure</a> passed in to this one, and returns if they are equivalent. </p>
<p>Equivalent here means that they are of the same type, and that each element of the objects are the same. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if DataStructure's are Equal. </dd></dl>
<p>Reimplemented from <a class="el" href="classactivemq_1_1commands_1_1_base_command.html#ab96dc9deb2b85b6f9d16131a4ca439de">activemq::commands::BaseCommand</a>.</p>
</div>
</div>
<a class="anchor" id="a639de0c3b166e3f7d3c4d5f37cb1dbad"></a><!-- doxytag: member="activemq::commands::ConnectionControl::getConnectedBrokers" ref="a639de0c3b166e3f7d3c4d5f37cb1dbad" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const std::string&amp; activemq::commands::ConnectionControl::getConnectedBrokers </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a41c48c566c7f4e4777fb4261be9c872b"></a><!-- doxytag: member="activemq::commands::ConnectionControl::getConnectedBrokers" ref="a41c48c566c7f4e4777fb4261be9c872b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string&amp; activemq::commands::ConnectionControl::getConnectedBrokers </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a009238eb119e15f511e197f325ddf6c8"></a><!-- doxytag: member="activemq::commands::ConnectionControl::getDataStructureType" ref="a009238eb119e15f511e197f325ddf6c8" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual unsigned char activemq::commands::ConnectionControl::getDataStructureType </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html">DataStructure</a> Type as defined in CommandTypes.h. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The type of the data structure </dd></dl>
<p>Implements <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html#a8f5ef11cb8ca5bb17266cf3bd70a1c71">activemq::commands::DataStructure</a>.</p>
</div>
</div>
<a class="anchor" id="acaac77e3ddb4c1dc325ba0c1bdda8ec7"></a><!-- doxytag: member="activemq::commands::ConnectionControl::getReconnectTo" ref="acaac77e3ddb4c1dc325ba0c1bdda8ec7" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const std::string&amp; activemq::commands::ConnectionControl::getReconnectTo </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a4ba3b5393742335850a676f98cc2a8a8"></a><!-- doxytag: member="activemq::commands::ConnectionControl::getReconnectTo" ref="a4ba3b5393742335850a676f98cc2a8a8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string&amp; activemq::commands::ConnectionControl::getReconnectTo </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="abaa9c958f64477c6a5338db528b395a1"></a><!-- doxytag: member="activemq::commands::ConnectionControl::isClose" ref="abaa9c958f64477c6a5338db528b395a1" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool activemq::commands::ConnectionControl::isClose </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a84ff1a3b606ffd12aca809d653288106"></a><!-- doxytag: member="activemq::commands::ConnectionControl::isConnectionControl" ref="a84ff1a3b606ffd12aca809d653288106" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool activemq::commands::ConnectionControl::isConnectionControl </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>an answer of true to the <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a84ff1a3b606ffd12aca809d653288106">isConnectionControl()</a> query. </dd></dl>
<p>Reimplemented from <a class="el" href="classactivemq_1_1commands_1_1_base_command.html#ad28e3aa35770b042389bf61be39b0766">activemq::commands::BaseCommand</a>.</p>
</div>
</div>
<a class="anchor" id="ad03bc0e6979d7dfbf71987df309ce0a6"></a><!-- doxytag: member="activemq::commands::ConnectionControl::isExit" ref="ad03bc0e6979d7dfbf71987df309ce0a6" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool activemq::commands::ConnectionControl::isExit </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ae4d6b5092bc37d3a2c21cb16d4daafdf"></a><!-- doxytag: member="activemq::commands::ConnectionControl::isFaultTolerant" ref="ae4d6b5092bc37d3a2c21cb16d4daafdf" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool activemq::commands::ConnectionControl::isFaultTolerant </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aacb3a2d82a307516c9c9d6f4c32e98cb"></a><!-- doxytag: member="activemq::commands::ConnectionControl::isRebalanceConnection" ref="aacb3a2d82a307516c9c9d6f4c32e98cb" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool activemq::commands::ConnectionControl::isRebalanceConnection </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="acaa79b1570d0aa1f0016fb9c9c37007d"></a><!-- doxytag: member="activemq::commands::ConnectionControl::isResume" ref="acaa79b1570d0aa1f0016fb9c9c37007d" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool activemq::commands::ConnectionControl::isResume </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="adc87cf7fec67de68d4de7027dc9954f7"></a><!-- doxytag: member="activemq::commands::ConnectionControl::isSuspend" ref="adc87cf7fec67de68d4de7027dc9954f7" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool activemq::commands::ConnectionControl::isSuspend </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="af497443a41c888546198506aa113008a"></a><!-- doxytag: member="activemq::commands::ConnectionControl::setClose" ref="af497443a41c888546198506aa113008a" args="(bool close)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::commands::ConnectionControl::setClose </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>close</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a17e01ebd9d3d441f9543169702493779"></a><!-- doxytag: member="activemq::commands::ConnectionControl::setConnectedBrokers" ref="a17e01ebd9d3d441f9543169702493779" args="(const std::string &amp;connectedBrokers)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::commands::ConnectionControl::setConnectedBrokers </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>connectedBrokers</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a934ed72609e2953d872a0c3452288be0"></a><!-- doxytag: member="activemq::commands::ConnectionControl::setExit" ref="a934ed72609e2953d872a0c3452288be0" args="(bool exit)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::commands::ConnectionControl::setExit </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>exit</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ae3c7f8c218da2819bcd85772aaeecad0"></a><!-- doxytag: member="activemq::commands::ConnectionControl::setFaultTolerant" ref="ae3c7f8c218da2819bcd85772aaeecad0" args="(bool faultTolerant)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::commands::ConnectionControl::setFaultTolerant </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>faultTolerant</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ad6556b6a860e09ef49459133bb1186e5"></a><!-- doxytag: member="activemq::commands::ConnectionControl::setRebalanceConnection" ref="ad6556b6a860e09ef49459133bb1186e5" args="(bool rebalanceConnection)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::commands::ConnectionControl::setRebalanceConnection </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>rebalanceConnection</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a3728c5db9916a9b780ec76034c5dbb8b"></a><!-- doxytag: member="activemq::commands::ConnectionControl::setReconnectTo" ref="a3728c5db9916a9b780ec76034c5dbb8b" args="(const std::string &amp;reconnectTo)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::commands::ConnectionControl::setReconnectTo </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>reconnectTo</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a508a64e84368cbd0ebfdcdad91cd4c38"></a><!-- doxytag: member="activemq::commands::ConnectionControl::setResume" ref="a508a64e84368cbd0ebfdcdad91cd4c38" args="(bool resume)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::commands::ConnectionControl::setResume </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>resume</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aa43da0e121a00c85deba33402e9f7ae6"></a><!-- doxytag: member="activemq::commands::ConnectionControl::setSuspend" ref="aa43da0e121a00c85deba33402e9f7ae6" args="(bool suspend)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void activemq::commands::ConnectionControl::setSuspend </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>suspend</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a942183ee67cfa030633943a9174e7a78"></a><!-- doxytag: member="activemq::commands::ConnectionControl::toString" ref="a942183ee67cfa030633943a9174e7a78" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string activemq::commands::ConnectionControl::toString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns a string containing the information for this <a class="el" href="classactivemq_1_1commands_1_1_data_structure.html">DataStructure</a> such as its type and value of its elements. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>formatted string useful for debugging. </dd></dl>
<p>Reimplemented from <a class="el" href="classactivemq_1_1commands_1_1_base_command.html#ad5dfa2a9f0e7ab2896c3d22b08456484">activemq::commands::BaseCommand</a>.</p>
</div>
</div>
<a class="anchor" id="adf151e072f83b1855cd987939d7a0328"></a><!-- doxytag: member="activemq::commands::ConnectionControl::visit" ref="adf151e072f83b1855cd987939d7a0328" args="(activemq::state::CommandVisitor *visitor)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classdecaf_1_1lang_1_1_pointer.html">Pointer</a>&lt;<a class="el" href="classactivemq_1_1commands_1_1_command.html">Command</a>&gt; activemq::commands::ConnectionControl::visit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classactivemq_1_1state_1_1_command_visitor.html">activemq::state::CommandVisitor</a> *&#160;</td>
<td class="paramname"><em>visitor</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Allows a Visitor to visit this command and return a response to the command based on the command type being visited. </p>
<p>The command will call the proper processXXX method in the visitor.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a <a class="el" href="classactivemq_1_1commands_1_1_response.html">Response</a> to the visitor being called or NULL if no response. </dd></dl>
<p>Implements <a class="el" href="classactivemq_1_1commands_1_1_command.html#a973a872bcacf958883e041cb7caeff2c">activemq::commands::Command</a>.</p>
</div>
</div>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a40deef0a59147bbd0e266221f84b52b7"></a><!-- doxytag: member="activemq::commands::ConnectionControl::close" ref="a40deef0a59147bbd0e266221f84b52b7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a40deef0a59147bbd0e266221f84b52b7">activemq::commands::ConnectionControl::close</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a3138847451c5246f7fb0b1cc4f3cd1ab"></a><!-- doxytag: member="activemq::commands::ConnectionControl::connectedBrokers" ref="a3138847451c5246f7fb0b1cc4f3cd1ab" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a3138847451c5246f7fb0b1cc4f3cd1ab">activemq::commands::ConnectionControl::connectedBrokers</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="afab383f7d9d33b7acc230ba681bbeb0d"></a><!-- doxytag: member="activemq::commands::ConnectionControl::exit" ref="afab383f7d9d33b7acc230ba681bbeb0d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#afab383f7d9d33b7acc230ba681bbeb0d">activemq::commands::ConnectionControl::exit</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="abad7d7e59ccd06bfbd5a4db75ea4440d"></a><!-- doxytag: member="activemq::commands::ConnectionControl::faultTolerant" ref="abad7d7e59ccd06bfbd5a4db75ea4440d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#abad7d7e59ccd06bfbd5a4db75ea4440d">activemq::commands::ConnectionControl::faultTolerant</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a8cb2b34b83be1eebf148418573d0ec2b"></a><!-- doxytag: member="activemq::commands::ConnectionControl::ID_CONNECTIONCONTROL" ref="a8cb2b34b83be1eebf148418573d0ec2b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const unsigned char <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a8cb2b34b83be1eebf148418573d0ec2b">activemq::commands::ConnectionControl::ID_CONNECTIONCONTROL</a> = 18<code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ac920e55db1a7d8f2a0fe15d07040a09a"></a><!-- doxytag: member="activemq::commands::ConnectionControl::rebalanceConnection" ref="ac920e55db1a7d8f2a0fe15d07040a09a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#ac920e55db1a7d8f2a0fe15d07040a09a">activemq::commands::ConnectionControl::rebalanceConnection</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a4fb473c5cca0875385ab2c6d524548d8"></a><!-- doxytag: member="activemq::commands::ConnectionControl::reconnectTo" ref="a4fb473c5cca0875385ab2c6d524548d8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a4fb473c5cca0875385ab2c6d524548d8">activemq::commands::ConnectionControl::reconnectTo</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a179786f4ab128d1f533447cf36043f4b"></a><!-- doxytag: member="activemq::commands::ConnectionControl::resume" ref="a179786f4ab128d1f533447cf36043f4b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#a179786f4ab128d1f533447cf36043f4b">activemq::commands::ConnectionControl::resume</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aa4ce83e526c17ed047c23d3054ce3735"></a><!-- doxytag: member="activemq::commands::ConnectionControl::suspend" ref="aa4ce83e526c17ed047c23d3054ce3735" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classactivemq_1_1commands_1_1_connection_control.html#aa4ce83e526c17ed047c23d3054ce3735">activemq::commands::ConnectionControl::suspend</a><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/main/activemq/commands/<a class="el" href="_connection_control_8h_source.html">ConnectionControl.h</a></li>
</ul>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceactivemq.html">activemq</a> </li>
<li class="navelem"><a class="el" href="namespaceactivemq_1_1commands.html">commands</a> </li>
<li class="navelem"><a class="el" href="classactivemq_1_1commands_1_1_connection_control.html">ConnectionControl</a> </li>
<li class="footer">Generated on Mon Apr 25 2011 for activemq-cpp-3.4.0 by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
</ul>
</div>
</body>
</html>