| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Class org.apache.qpid.protonj2.client.ConnectionOptions (Qpid ProtonJ2 Parent 1.0.0-M9 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Uses of Class org.apache.qpid.protonj2.client.ConnectionOptions (Qpid ProtonJ2 Parent 1.0.0-M9 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h2 title="Uses of Class org.apache.qpid.protonj2.client.ConnectionOptions" class="title">Uses of Class<br>org.apache.qpid.protonj2.client.ConnectionOptions</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.qpid.protonj2.client">org.apache.qpid.protonj2.client</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.qpid.protonj2.client.impl">org.apache.qpid.protonj2.client.impl</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.qpid.protonj2.client"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a> in <a href="../package-summary.html">org.apache.qpid.protonj2.client</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.qpid.protonj2.client</a> that return <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#channelMax(int)">channelMax</a></span>​(int channelMax)</code></th> |
| <td class="colLast"> |
| <div class="block">Configure the channel maximum value for the new <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> created with these options.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#clone()">clone</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#closeTimeout(long)">closeTimeout</a></span>​(long closeTimeout)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures the timeout used when awaiting a response from the remote that a request to close |
| a resource such as a <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a>, <a href="../Session.html" title="interface in org.apache.qpid.protonj2.client"><code>Session</code></a>, <a href="../Sender.html" title="interface in org.apache.qpid.protonj2.client"><code>Sender</code></a> or <a href="../Receiver.html" title="interface in org.apache.qpid.protonj2.client"><code>Receiver</code></a> h |
| as been honored.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#closeTimeout(long,java.util.concurrent.TimeUnit)">closeTimeout</a></span>​(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a> units)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures the timeout used when awaiting a response from the remote that a request to close |
| a resource such as a <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a>, <a href="../Session.html" title="interface in org.apache.qpid.protonj2.client"><code>Session</code></a>, <a href="../Sender.html" title="interface in org.apache.qpid.protonj2.client"><code>Sender</code></a> or <a href="../Receiver.html" title="interface in org.apache.qpid.protonj2.client"><code>Receiver</code></a> h |
| as been honored.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#connectedHandler(java.util.function.BiConsumer)">connectedHandler</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">BiConsumer</a><<a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a>,​<a href="../ConnectionEvent.html" title="class in org.apache.qpid.protonj2.client">ConnectionEvent</a>> connectedHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures a handler that will be notified when a <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> has established.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#copyInto(org.apache.qpid.protonj2.client.ConnectionOptions)">copyInto</a></span>​(<a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a> other)</code></th> |
| <td class="colLast"> |
| <div class="block">Copy all options from this <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client"><code>ConnectionOptions</code></a> instance into the instance |
| provided.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#defaultNextReceiverPolicy(org.apache.qpid.protonj2.client.NextReceiverPolicy)">defaultNextReceiverPolicy</a></span>​(<a href="../NextReceiverPolicy.html" title="enum in org.apache.qpid.protonj2.client">NextReceiverPolicy</a> policy)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures the default next receiver policy for this connection and any session |
| that is created without specifying user defined session default options.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#desiredCapabilities(java.lang.String...)">desiredCapabilities</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>... desiredCapabilities)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the collection of capabilities to request from the remote for a new <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> |
| created using these <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client"><code>ConnectionOptions</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#disconnectedHandler(java.util.function.BiConsumer)">disconnectedHandler</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">BiConsumer</a><<a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a>,​<a href="../DisconnectionEvent.html" title="class in org.apache.qpid.protonj2.client">DisconnectionEvent</a>> disconnectedHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures a handler that will be notified when the connection has failed and cannot be recovered |
| should reconnect be enabled.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#drainTimeout(long)">drainTimeout</a></span>​(long drainTimeout)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the drain timeout (in milliseconds) after which a <a href="../Receiver.html" title="interface in org.apache.qpid.protonj2.client"><code>Receiver</code></a> request to drain |
| link credit is considered failed and the request will be marked as such.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#drainTimeout(long,java.util.concurrent.TimeUnit)">drainTimeout</a></span>​(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a> units)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the drain timeout value after which a <a href="../Receiver.html" title="interface in org.apache.qpid.protonj2.client"><code>Receiver</code></a> request to drain |
| link credit is considered failed and the request will be marked as such.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#idleTimeout(long)">idleTimeout</a></span>​(long idleTimeout)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the idle timeout (in milliseconds) after which the connection will |
| be closed if the peer has not send any data.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#idleTimeout(long,java.util.concurrent.TimeUnit)">idleTimeout</a></span>​(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a> units)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the idle timeout value after which the connection will be closed |
| if the peer has not send any data.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#interruptedHandler(java.util.function.BiConsumer)">interruptedHandler</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">BiConsumer</a><<a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a>,​<a href="../DisconnectionEvent.html" title="class in org.apache.qpid.protonj2.client">DisconnectionEvent</a>> interruptedHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures a handler that will be notified when the current <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> experiences an |
| interruption.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#maxFrameSize(int)">maxFrameSize</a></span>​(int maxFrameSize)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the max frame size (in bytes), values of -1 indicates to use the client selected default.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#offeredCapabilities(java.lang.String...)">offeredCapabilities</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>... offeredCapabilities)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the collection of capabilities to offer to the remote from a new <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> |
| created using these <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client"><code>ConnectionOptions</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#openTimeout(long)">openTimeout</a></span>​(long openTimeout)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures the timeout used when awaiting a response from the remote that a request to open |
| a resource such as a <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a>, <a href="../Session.html" title="interface in org.apache.qpid.protonj2.client"><code>Session</code></a>, <a href="../Sender.html" title="interface in org.apache.qpid.protonj2.client"><code>Sender</code></a> or <a href="../Receiver.html" title="interface in org.apache.qpid.protonj2.client"><code>Receiver</code></a> |
| has been honored.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#openTimeout(long,java.util.concurrent.TimeUnit)">openTimeout</a></span>​(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a> units)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures the timeout used when awaiting a response from the remote that a request to open |
| a resource such as a <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a>, <a href="../Session.html" title="interface in org.apache.qpid.protonj2.client"><code>Session</code></a>, <a href="../Sender.html" title="interface in org.apache.qpid.protonj2.client"><code>Sender</code></a> or <a href="../Receiver.html" title="interface in org.apache.qpid.protonj2.client"><code>Receiver</code></a> |
| has been honored.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#password(java.lang.String)">password</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> password)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the password used when performing connection authentication.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#properties(java.util.Map)">properties</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>> properties)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> of properties to convey to the remote when a new <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> |
| is created from these <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client"><code>ConnectionOptions</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#reconnectedHandler(java.util.function.BiConsumer)">reconnectedHandler</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">BiConsumer</a><<a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a>,​<a href="../ConnectionEvent.html" title="class in org.apache.qpid.protonj2.client">ConnectionEvent</a>> reconnectedHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures a handler that will be notified when a <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> that has previously |
| experienced and interruption has been reconnected to a remote based on the reconnection |
| configuration.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#reconnectEnabled(boolean)">reconnectEnabled</a></span>​(boolean reconnectEnabled)</code></th> |
| <td class="colLast"> |
| <div class="block">Controls if the connection will attempt to reconnect if unable to connect immediately |
| or if an existing connection fails.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#requestTimeout(long)">requestTimeout</a></span>​(long requestTimeout)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures the timeout used when awaiting a response from the remote that a request to |
| perform some action such as starting a new transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#requestTimeout(long,java.util.concurrent.TimeUnit)">requestTimeout</a></span>​(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a> units)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures the timeout used when awaiting a response from the remote that a request to |
| perform some action such as starting a new transaction.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#sendTimeout(long)">sendTimeout</a></span>​(long sendTimeout)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures the timeout used when awaiting a send operation to complete.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#sendTimeout(long,java.util.concurrent.TimeUnit)">sendTimeout</a></span>​(long timeout, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">TimeUnit</a> units)</code></th> |
| <td class="colLast"> |
| <div class="block">Configures the timeout used when awaiting a send operation to complete.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#sslEnabled(boolean)">sslEnabled</a></span>​(boolean sslEnabled)</code></th> |
| <td class="colLast"> |
| <div class="block">Controls if the connection will attempt to connect using a secure IO layer or not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#traceFrames(boolean)">traceFrames</a></span>​(boolean traceFrames)</code></th> |
| <td class="colLast"> |
| <div class="block">Configure if the newly created connection should enabled AMQP frame tracing to the |
| system output.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#user(java.lang.String)">user</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> user)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the user name used when performing connection authentication.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#virtualHost(java.lang.String)">virtualHost</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> virtualHost)</code></th> |
| <td class="colLast"> |
| <div class="block">The virtual host value to provide to the remote when creating a new <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.qpid.protonj2.client</a> with parameters of type <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Client.</span><code><span class="memberNameLink"><a href="../Client.html#connect(java.lang.String,int,org.apache.qpid.protonj2.client.ConnectionOptions)">connect</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> host, |
| int port, |
| <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a> options)</code></th> |
| <td class="colLast"> |
| <div class="block">Connect to the specified host and port, with given connection options.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Client.</span><code><span class="memberNameLink"><a href="../Client.html#connect(java.lang.String,org.apache.qpid.protonj2.client.ConnectionOptions)">connect</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> host, |
| <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a> options)</code></th> |
| <td class="colLast"> |
| <div class="block">Connect to the specified host, using the default port, without credentials and with all |
| connection options set to their defaults.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#copyInto(org.apache.qpid.protonj2.client.ConnectionOptions)">copyInto</a></span>​(<a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a> other)</code></th> |
| <td class="colLast"> |
| <div class="block">Copy all options from this <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client"><code>ConnectionOptions</code></a> instance into the instance |
| provided.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructors in <a href="../package-summary.html">org.apache.qpid.protonj2.client</a> with parameters of type <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../ConnectionOptions.html#%3Cinit%3E(org.apache.qpid.protonj2.client.ConnectionOptions)">ConnectionOptions</a></span>​(<a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a> options)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client"><code>ConnectionOptions</code></a> instance that is a copy of the given instance.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.qpid.protonj2.client.impl"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a> in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.client.impl</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.client.impl</a> with parameters of type <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ClientInstance.</span><code><span class="memberNameLink"><a href="../impl/ClientInstance.html#connect(java.lang.String,int,org.apache.qpid.protonj2.client.ConnectionOptions)">connect</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> host, |
| int port, |
| <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a> options)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ClientInstance.</span><code><span class="memberNameLink"><a href="../impl/ClientInstance.html#connect(java.lang.String,org.apache.qpid.protonj2.client.ConnectionOptions)">connect</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> host, |
| <a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">ConnectionOptions</a> options)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../ConnectionOptions.html" title="class in org.apache.qpid.protonj2.client">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |