| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Interface org.apache.qpid.protonj2.client.Connection (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 Interface org.apache.qpid.protonj2.client.Connection (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="../Connection.html" title="interface 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 Interface org.apache.qpid.protonj2.client.Connection" class="title">Uses of Interface<br>org.apache.qpid.protonj2.client.Connection</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</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="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</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="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</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)">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)</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="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,int)">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)</code></th> |
| <td class="colLast"> |
| <div class="block">Connect to the specified host and port, without credentials and with all |
| connection options set to their defaults.</div> |
| </td> |
| </tr> |
| <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><a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Link.</span><code><span class="memberNameLink"><a href="../Link.html#connection()">connection</a></span>()</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">Session.</span><code><span class="memberNameLink"><a href="../Session.html#connection()">connection</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.qpid.protonj2.client</a> that return types with arguments of type <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</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="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a><<a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Connection.</span><code><span class="memberNameLink"><a href="../Connection.html#closeAsync()">closeAsync</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Requests a close of the <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> at the remote and returns a <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>Future</code></a> that will be |
| completed once the Connection has been fully closed.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a><<a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Connection.</span><code><span class="memberNameLink"><a href="../Connection.html#closeAsync(org.apache.qpid.protonj2.client.ErrorCondition)">closeAsync</a></span>​(<a href="../ErrorCondition.html" title="interface in org.apache.qpid.protonj2.client">ErrorCondition</a> error)</code></th> |
| <td class="colLast"> |
| <div class="block">Requests a close of the <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> at the remote and returns a <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>Future</code></a> that will be |
| completed once the Connection has been fully closed.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><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>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#connectedHandler()">connectedHandler</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><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>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#disconnectedHandler()">disconnectedHandler</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><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>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#interruptedHandler()">interruptedHandler</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a><<a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Connection.</span><code><span class="memberNameLink"><a href="../Connection.html#openFuture()">openFuture</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">When a <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> is created it may not be opened on the remote peer, the future returned |
| from this method allows the caller to await the completion of the Connection open by the remote before |
| proceeding on to other messaging operations.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><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>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ConnectionOptions.</span><code><span class="memberNameLink"><a href="../ConnectionOptions.html#reconnectedHandler()">reconnectedHandler</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../package-summary.html">org.apache.qpid.protonj2.client</a> with type arguments of type <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</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#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><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="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#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="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#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> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.qpid.protonj2.client.impl"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a> in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.client.impl</a></h3> |
| <table class="useSummary"> |
| <caption><span>Classes in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.client.impl</a> that implement <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../impl/ClientConnection.html" title="class in org.apache.qpid.protonj2.client.impl">ClientConnection</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">A <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client"><code>Connection</code></a> implementation that uses the Proton engine for AMQP protocol support.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.client.impl</a> that return <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</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)">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)</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,int)">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)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <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> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.client.impl</a> that return types with arguments of type <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</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="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a><<a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ClientConnection.</span><code><span class="memberNameLink"><a href="../impl/ClientConnection.html#closeAsync()">closeAsync</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a><<a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ClientConnection.</span><code><span class="memberNameLink"><a href="../impl/ClientConnection.html#closeAsync(org.apache.qpid.protonj2.client.ErrorCondition)">closeAsync</a></span>​(<a href="../ErrorCondition.html" title="interface in org.apache.qpid.protonj2.client">ErrorCondition</a> error)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">Future</a><<a href="../Connection.html" title="interface in org.apache.qpid.protonj2.client">Connection</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ClientConnection.</span><code><span class="memberNameLink"><a href="../impl/ClientConnection.html#openFuture()">openFuture</a></span>()</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="../Connection.html" title="interface 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> |