| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>ProtonLink (Qpid ProtonJ2 Parent 1.0.0-M19 API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.qpid.protonj2.engine.impl, class: ProtonLink"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="class-use/ProtonLink.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li><a href="#field-detail">Field</a> | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.qpid.protonj2.engine.impl</a></div> |
| <h1 title="Class ProtonLink" class="title">Class ProtonLink<L extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><L>></h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="ProtonEndpoint.html" title="class in org.apache.qpid.protonj2.engine.impl">org.apache.qpid.protonj2.engine.impl.ProtonEndpoint</a><L> |
| <div class="inheritance">org.apache.qpid.protonj2.engine.impl.ProtonLink<L></div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>Type Parameters:</dt> |
| <dd><code>L</code> - the type of link, <a href="../Sender.html" title="interface in org.apache.qpid.protonj2.engine"><code>Sender</code></a> or <a href="../Receiver.html" title="interface in org.apache.qpid.protonj2.engine"><code>Receiver</code></a>.</dd> |
| </dl> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><L></code>, <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><L></code></dd> |
| </dl> |
| <dl class="notes"> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="ProtonReceiver.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonReceiver</a></code>, <code><a href="ProtonSender.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonSender</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public abstract class </span><span class="element-name type-name-label">ProtonLink<L extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><L>></span> |
| <span class="extends-implements">extends <a href="ProtonEndpoint.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonEndpoint</a><L> |
| implements <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><L></span></div> |
| <div class="block">Common base for Proton Senders and Receivers.</div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>protected final <a href="ProtonConnection.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonConnection</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#connection" class="member-name-link">connection</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected final <a href="../../types/transport/Attach.html" title="class in org.apache.qpid.protonj2.types.transport">Attach</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#localAttach" class="member-name-link">localAttach</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>protected <a href="../../types/transport/Attach.html" title="class in org.apache.qpid.protonj2.types.transport">Attach</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#remoteAttach" class="member-name-link">remoteAttach</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected final <a href="ProtonSession.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonSession</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#session" class="member-name-link">session</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.apache.qpid.protonj2.engine.impl.ProtonEndpoint">Fields inherited from class org.apache.qpid.protonj2.engine.impl.<a href="ProtonEndpoint.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonEndpoint</a></h3> |
| <code><a href="ProtonEndpoint.html#engine">engine</a></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier</div> |
| <div class="table-header col-second">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>protected </code></div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.apache.qpid.protonj2.engine.impl.ProtonSession,java.lang.String,org.apache.qpid.protonj2.engine.impl.ProtonLinkCreditState)" class="member-name-link">ProtonLink</a><wbr>(<a href="ProtonSession.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonSession</a> session, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> name, |
| <a href="ProtonLinkCreditState.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonLinkCreditState</a> creditState)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Create a new link instance with the given parent session.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#areDeliveriesStillActive()" class="member-name-link">areDeliveriesStillActive</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#checkLinkOperable(java.lang.String)" class="member-name-link">checkLinkOperable</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> failurePrefix)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#checkNotClosed(java.lang.String)" class="member-name-link">checkNotClosed</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> errorMessage)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#checkNotOpened(java.lang.String)" class="member-name-link">checkNotOpened</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> errorMessage)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#close()" class="member-name-link">close</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Close the end point locally and send the closing performative immediately if possible or |
| holds it until the Connection / Engine state allows it.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>protected abstract <a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#decorateOutgoingFlow(org.apache.qpid.protonj2.types.transport.Flow)" class="member-name-link">decorateOutgoingFlow</a><wbr>(<a href="../../types/transport/Flow.html" title="class in org.apache.qpid.protonj2.types.transport">Flow</a> flow)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#detach()" class="member-name-link">detach</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Detach this end of the link.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#detachHandler(org.apache.qpid.protonj2.engine.EventHandler)" class="member-name-link">detachHandler</a><wbr>(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>> remoteDetachHandler)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets a <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> for when an AMQP Detach frame is received from the remote peer for this |
| <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> which would have been locally opened previously, the Detach from would have been marked |
| as not having been closed.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonConnection.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonConnection</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConnection()" class="member-name-link">getConnection</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>[]</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDesiredCapabilities()" class="member-name-link">getDesiredCapabilities</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxMessageSize()" class="member-name-link">getMaxMessageSize</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Gets the local link max message size.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getName()" class="member-name-link">getName</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>[]</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOfferedCapabilities()" class="member-name-link">getOfferedCapabilities</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonSession.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonSession</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getParent()" class="member-name-link">getParent</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Gets the parent of this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> which can be itself for <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.engine"><code>Connection</code></a> instance.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getProperties()" class="member-name-link">getProperties</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/transport/ReceiverSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">ReceiverSettleMode</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getReceiverSettleMode()" class="member-name-link">getReceiverSettleMode</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Gets the local link receiver settlement mode.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>[]</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteDesiredCapabilities()" class="member-name-link">getRemoteDesiredCapabilities</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteMaxMessageSize()" class="member-name-link">getRemoteMaxMessageSize</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Gets the remote link max message size, as conveyed from the peer via the Attach frame |
| when attaching the link to the session.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>[]</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteOfferedCapabilities()" class="member-name-link">getRemoteOfferedCapabilities</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteProperties()" class="member-name-link">getRemoteProperties</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/transport/ReceiverSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">ReceiverSettleMode</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteReceiverSettleMode()" class="member-name-link">getRemoteReceiverSettleMode</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Gets the remote link receiver settlement mode, as conveyed from the peer via the Attach frame |
| when attaching the link to the session.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/transport/SenderSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">SenderSettleMode</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteSenderSettleMode()" class="member-name-link">getRemoteSenderSettleMode</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Gets the remote link sender settlement mode, as conveyed from the peer via the Attach frame |
| when attaching the link to the session.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging">Source</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteSource()" class="member-name-link">getRemoteSource</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../LinkState.html" title="enum in org.apache.qpid.protonj2.engine">LinkState</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteState()" class="member-name-link">getRemoteState</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><T extends <a href="../../types/messaging/Terminus.html" title="interface in org.apache.qpid.protonj2.types.messaging">Terminus</a>><br>T</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRemoteTarget()" class="member-name-link">getRemoteTarget</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the remote target <a href="../../types/messaging/Terminus.html" title="interface in org.apache.qpid.protonj2.types.messaging"><code>Terminus</code></a> cast to the given type.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/transport/SenderSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">SenderSettleMode</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSenderSettleMode()" class="member-name-link">getSenderSettleMode</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Gets the local link sender settlement mode.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonSession.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonSession</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSession()" class="member-name-link">getSession</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging">Source</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSource()" class="member-name-link">getSource</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../LinkState.html" title="enum in org.apache.qpid.protonj2.engine">LinkState</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getState()" class="member-name-link">getState</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><T extends <a href="../../types/messaging/Terminus.html" title="interface in org.apache.qpid.protonj2.types.messaging">Terminus</a>><br>T</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTarget()" class="member-name-link">getTarget</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the currently set Target for this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>protected abstract <a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#handleRemoteAttach(org.apache.qpid.protonj2.types.transport.Attach)" class="member-name-link">handleRemoteAttach</a><wbr>(<a href="../../types/transport/Attach.html" title="class in org.apache.qpid.protonj2.types.transport">Attach</a> attach)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>protected abstract <a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#handleRemoteDetach(org.apache.qpid.protonj2.types.transport.Detach)" class="member-name-link">handleRemoteDetach</a><wbr>(<a href="../../types/transport/Detach.html" title="class in org.apache.qpid.protonj2.types.transport">Detach</a> detach)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>protected abstract <a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#handleRemoteDisposition(org.apache.qpid.protonj2.types.transport.Disposition,org.apache.qpid.protonj2.engine.impl.ProtonIncomingDelivery)" class="member-name-link">handleRemoteDisposition</a><wbr>(<a href="../../types/transport/Disposition.html" title="class in org.apache.qpid.protonj2.types.transport">Disposition</a> disposition, |
| <a href="ProtonIncomingDelivery.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonIncomingDelivery</a> delivery)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>protected abstract <a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#handleRemoteDisposition(org.apache.qpid.protonj2.types.transport.Disposition,org.apache.qpid.protonj2.engine.impl.ProtonOutgoingDelivery)" class="member-name-link">handleRemoteDisposition</a><wbr>(<a href="../../types/transport/Disposition.html" title="class in org.apache.qpid.protonj2.types.transport">Disposition</a> disposition, |
| <a href="ProtonOutgoingDelivery.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonOutgoingDelivery</a> delivery)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>protected abstract <a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#handleRemoteFlow(org.apache.qpid.protonj2.types.transport.Flow)" class="member-name-link">handleRemoteFlow</a><wbr>(<a href="../../types/transport/Flow.html" title="class in org.apache.qpid.protonj2.types.transport">Flow</a> flow)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>protected abstract <a href="ProtonIncomingDelivery.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonIncomingDelivery</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#handleRemoteTransfer(org.apache.qpid.protonj2.types.transport.Transfer,org.apache.qpid.protonj2.buffer.ProtonBuffer)" class="member-name-link">handleRemoteTransfer</a><wbr>(<a href="../../types/transport/Transfer.html" title="class in org.apache.qpid.protonj2.types.transport">Transfer</a> transfer, |
| <a href="../../buffer/ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> payload)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isLocallyClosed()" class="member-name-link">isLocallyClosed</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns true if this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is currently locally closed meaning that a call to the |
| <a href="../Endpoint.html#close()"><code>Endpoint.close()</code></a> method has occurred.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isLocallyClosedOrDetached()" class="member-name-link">isLocallyClosedOrDetached</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently locally detached or locally closed meaning the |
| state returned from <a href="../Link.html#getState()"><code>Link.getState()</code></a> is equal to <a href="../LinkState.html#DETACHED"><code>LinkState.DETACHED</code></a> or |
| <a href="../LinkState.html#CLOSED"><code>LinkState.CLOSED</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isLocallyDetached()" class="member-name-link">isLocallyDetached</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently locally detached meaning the state returned |
| from <a href="../Link.html#getState()"><code>Link.getState()</code></a> is equal to <a href="../LinkState.html#DETACHED"><code>LinkState.DETACHED</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isLocallyOpen()" class="member-name-link">isLocallyOpen</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns true if this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is currently locally open meaning that the <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a> |
| has been called but the <a href="../Endpoint.html#close()"><code>Endpoint.close()</code></a> has not.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isReceiver()" class="member-name-link">isReceiver</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isRemotelyClosed()" class="member-name-link">isRemotelyClosed</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently remotely closed meaning the state returned |
| from <a href="../Link.html#getRemoteState()"><code>Link.getRemoteState()</code></a> is equal to <a href="../LinkState.html#CLOSED"><code>LinkState.CLOSED</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isRemotelyClosedOrDetached()" class="member-name-link">isRemotelyClosedOrDetached</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently remotely detached or closed meaning the state |
| returned from <a href="../Link.html#getRemoteState()"><code>Link.getRemoteState()</code></a> is equal to <a href="../LinkState.html#DETACHED"><code>LinkState.DETACHED</code></a> or |
| <a href="../LinkState.html#CLOSED"><code>LinkState.CLOSED</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isRemotelyDetached()" class="member-name-link">isRemotelyDetached</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently remotely detached meaning the state returned |
| from <a href="../Link.html#getRemoteState()"><code>Link.getRemoteState()</code></a> is equal to <a href="../LinkState.html#DETACHED"><code>LinkState.DETACHED</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isRemotelyOpen()" class="member-name-link">isRemotelyOpen</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently remotely open meaning the state returned |
| from <a href="../Link.html#getRemoteState()"><code>Link.getRemoteState()</code></a> is equal to <a href="../LinkState.html#ACTIVE"><code>LinkState.ACTIVE</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isSender()" class="member-name-link">isSender</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#localDetachHandler(org.apache.qpid.protonj2.engine.EventHandler)" class="member-name-link">localDetachHandler</a><wbr>(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>> localDetachHandler)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets a <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> for when an this link is detached locally via a call to <a href="../Link.html#detach()"><code>Link.detach()</code></a> |
| |
| This is a convenience event that supplements the normal <a href="../Endpoint.html#localCloseHandler(org.apache.qpid.protonj2.engine.EventHandler)"><code>Endpoint.localCloseHandler(EventHandler)</code></a> |
| event point if set.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#open()" class="member-name-link">open</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Open the end point locally, sending the Open performative immediately if possible or holding |
| it until SASL negotiations or the AMQP header exchange and other required performative exchanges |
| has completed.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#parentEndpointClosedHandler(org.apache.qpid.protonj2.engine.EventHandler)" class="member-name-link">parentEndpointClosedHandler</a><wbr>(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>> handler)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets a <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> for when the parent <a href="../Session.html" title="interface in org.apache.qpid.protonj2.engine"><code>Session</code></a> or <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.engine"><code>Connection</code></a> of this link is |
| locally closed.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>protected abstract <a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#self()" class="member-name-link">self</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDesiredCapabilities(org.apache.qpid.protonj2.types.Symbol...)" class="member-name-link">setDesiredCapabilities</a><wbr>(<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>... capabilities)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets the capabilities that are desired from the remote when this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is |
| opened.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxMessageSize(org.apache.qpid.protonj2.types.UnsignedLong)" class="member-name-link">setMaxMessageSize</a><wbr>(<a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a> maxMessageSize)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets the local link max message size, to be conveyed to the peer via the Attach frame |
| when attaching the link to the session.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setOfferedCapabilities(org.apache.qpid.protonj2.types.Symbol...)" class="member-name-link">setOfferedCapabilities</a><wbr>(<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>... capabilities)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets the capabilities to be offered on to the remote when this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is |
| opened.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setProperties(java.util.Map)" class="member-name-link">setProperties</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>> properties)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets the properties to be sent to the remote when this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is Opened.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setReceiverSettleMode(org.apache.qpid.protonj2.types.transport.ReceiverSettleMode)" class="member-name-link">setReceiverSettleMode</a><wbr>(<a href="../../types/transport/ReceiverSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">ReceiverSettleMode</a> receiverSettleMode)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets the receiver settle mode.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSenderSettleMode(org.apache.qpid.protonj2.types.transport.SenderSettleMode)" class="member-name-link">setSenderSettleMode</a><wbr>(<a href="../../types/transport/SenderSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">SenderSettleMode</a> senderSettleMode)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets the sender settle mode.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setSource(org.apache.qpid.protonj2.types.messaging.Source)" class="member-name-link">setSource</a><wbr>(<a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging">Source</a> source)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets the <a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Source</code></a> to assign to the local end of this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTarget(org.apache.qpid.protonj2.types.messaging.Target)" class="member-name-link">setTarget</a><wbr>(<a href="../../types/messaging/Target.html" title="class in org.apache.qpid.protonj2.types.messaging">Target</a> target)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets the <a href="../../types/messaging/Target.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Target</code></a> to assign to the local end of this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTarget(org.apache.qpid.protonj2.types.transactions.Coordinator)" class="member-name-link">setTarget</a><wbr>(<a href="../../types/transactions/Coordinator.html" title="class in org.apache.qpid.protonj2.types.transactions">Coordinator</a> coordinator)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets the <a href="../../types/transactions/Coordinator.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Coordinator</code></a> target to assign to the local end of this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#transitionedToLocallyClosed()" class="member-name-link">transitionedToLocallyClosed</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#transitionedToLocallyDetached()" class="member-name-link">transitionedToLocallyDetached</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#transitionedToLocallyOpened()" class="member-name-link">transitionedToLocallyOpened</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#transitionToParentLocallyClosed()" class="member-name-link">transitionToParentLocallyClosed</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#transitionToParentRemotelyClosed()" class="member-name-link">transitionToParentRemotelyClosed</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#transitionToRemotelyClosed()" class="member-name-link">transitionToRemotelyClosed</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#transitionToRemotelyDetached()" class="member-name-link">transitionToRemotelyDetached</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#transitionToRemotelyOpenedState()" class="member-name-link">transitionToRemotelyOpenedState</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.qpid.protonj2.engine.impl.ProtonEndpoint">Methods inherited from class org.apache.qpid.protonj2.engine.impl.<a href="ProtonEndpoint.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonEndpoint</a></h3> |
| <code><a href="ProtonEndpoint.html#closeHandler(org.apache.qpid.protonj2.engine.EventHandler)">closeHandler</a>, <a href="ProtonEndpoint.html#engineShutdownHandler(org.apache.qpid.protonj2.engine.EventHandler)">engineShutdownHandler</a>, <a href="ProtonEndpoint.html#getAttachments()">getAttachments</a>, <a href="ProtonEndpoint.html#getCondition()">getCondition</a>, <a href="ProtonEndpoint.html#getEngine()">getEngine</a>, <a href="ProtonEndpoint.html#getLinkedResource()">getLinkedResource</a>, <a href="ProtonEndpoint.html#getLinkedResource(java.lang.Class)">getLinkedResource</a>, <a href="ProtonEndpoint.html#getRemoteCondition()">getRemoteCondition</a>, <a href="ProtonEndpoint.html#localCloseHandler(org.apache.qpid.protonj2.engine.EventHandler)">localCloseHandler</a>, <a href="ProtonEndpoint.html#localOpenHandler(org.apache.qpid.protonj2.engine.EventHandler)">localOpenHandler</a>, <a href="ProtonEndpoint.html#openHandler(org.apache.qpid.protonj2.engine.EventHandler)">openHandler</a>, <a href="ProtonEndpoint.html#setCondition(org.apache.qpid.protonj2.types.transport.ErrorCondition)">setCondition</a>, <a href="ProtonEndpoint.html#setLinkedResource(java.lang.Object)">setLinkedResource</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.qpid.protonj2.engine.Endpoint">Methods inherited from interface org.apache.qpid.protonj2.engine.<a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a></h3> |
| <code><a href="../Endpoint.html#closeHandler(org.apache.qpid.protonj2.engine.EventHandler)">closeHandler</a>, <a href="../Endpoint.html#engineShutdownHandler(org.apache.qpid.protonj2.engine.EventHandler)">engineShutdownHandler</a>, <a href="../Endpoint.html#getAttachments()">getAttachments</a>, <a href="../Endpoint.html#getCondition()">getCondition</a>, <a href="../Endpoint.html#getEngine()">getEngine</a>, <a href="../Endpoint.html#getLinkedResource()">getLinkedResource</a>, <a href="../Endpoint.html#getLinkedResource(java.lang.Class)">getLinkedResource</a>, <a href="../Endpoint.html#getRemoteCondition()">getRemoteCondition</a>, <a href="../Endpoint.html#localCloseHandler(org.apache.qpid.protonj2.engine.EventHandler)">localCloseHandler</a>, <a href="../Endpoint.html#localOpenHandler(org.apache.qpid.protonj2.engine.EventHandler)">localOpenHandler</a>, <a href="../Endpoint.html#openHandler(org.apache.qpid.protonj2.engine.EventHandler)">openHandler</a>, <a href="../Endpoint.html#setCondition(org.apache.qpid.protonj2.types.transport.ErrorCondition)">setCondition</a>, <a href="../Endpoint.html#setLinkedResource(java.lang.Object)">setLinkedResource</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.qpid.protonj2.engine.Link">Methods inherited from interface org.apache.qpid.protonj2.engine.<a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a></h3> |
| <code><a href="../Link.html#creditStateUpdateHandler(org.apache.qpid.protonj2.engine.EventHandler)">creditStateUpdateHandler</a>, <a href="../Link.html#getCredit()">getCredit</a>, <a href="../Link.html#getRole()">getRole</a>, <a href="../Link.html#isDraining()">isDraining</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="connection"> |
| <h3>connection</h3> |
| <div class="member-signature"><span class="modifiers">protected final</span> <span class="return-type"><a href="ProtonConnection.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonConnection</a></span> <span class="element-name">connection</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="session"> |
| <h3>session</h3> |
| <div class="member-signature"><span class="modifiers">protected final</span> <span class="return-type"><a href="ProtonSession.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonSession</a></span> <span class="element-name">session</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="localAttach"> |
| <h3>localAttach</h3> |
| <div class="member-signature"><span class="modifiers">protected final</span> <span class="return-type"><a href="../../types/transport/Attach.html" title="class in org.apache.qpid.protonj2.types.transport">Attach</a></span> <span class="element-name">localAttach</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="remoteAttach"> |
| <h3>remoteAttach</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="../../types/transport/Attach.html" title="class in org.apache.qpid.protonj2.types.transport">Attach</a></span> <span class="element-name">remoteAttach</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(org.apache.qpid.protonj2.engine.impl.ProtonSession,java.lang.String,org.apache.qpid.protonj2.engine.impl.ProtonLinkCreditState)"> |
| <h3>ProtonLink</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="element-name">ProtonLink</span><wbr><span class="parameters">(<a href="ProtonSession.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonSession</a> session, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> name, |
| <a href="ProtonLinkCreditState.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonLinkCreditState</a> creditState)</span></div> |
| <div class="block">Create a new link instance with the given parent session.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>session</code> - The <a href="../Session.html" title="interface in org.apache.qpid.protonj2.engine"><code>Session</code></a> that this link resides within.</dd> |
| <dd><code>name</code> - The name assigned to this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a></dd> |
| <dd><code>creditState</code> - The link credit state used to track credit for the link.</dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="getConnection()"> |
| <h3>getConnection</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonConnection.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonConnection</a></span> <span class="element-name">getConnection</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getConnection()">getConnection</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the parent <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.engine"><code>Connection</code></a> for the <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getSession()"> |
| <h3>getSession</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonSession.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonSession</a></span> <span class="element-name">getSession</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getSession()">getSession</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the parent <a href="../Session.html" title="interface in org.apache.qpid.protonj2.engine"><code>Session</code></a> of the <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getParent()"> |
| <h3>getParent</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonSession.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonSession</a></span> <span class="element-name">getParent</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Endpoint.html#getParent()">Endpoint</a></code></span></div> |
| <div class="block">Gets the parent of this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> which can be itself for <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.engine"><code>Connection</code></a> instance.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#getParent()">getParent</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getParent()">getParent</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the parent <a href="../Session.html" title="interface in org.apache.qpid.protonj2.engine"><code>Session</code></a> of the <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getName()"> |
| <h3>getName</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">getName</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getName()">getName</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the link name that is assigned to this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isSender()"> |
| <h3>isSender</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isSender</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#isSender()">isSender</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if this link is acting in a sender <a href="../../types/transport/Role.html" title="enum in org.apache.qpid.protonj2.types.transport"><code>Role</code></a>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isReceiver()"> |
| <h3>isReceiver</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isReceiver</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#isReceiver()">isReceiver</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if this link is acting in a receiver <a href="../../types/transport/Role.html" title="enum in org.apache.qpid.protonj2.types.transport"><code>Role</code></a>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="self()"> |
| <h3>self</h3> |
| <div class="member-signature"><span class="modifiers">protected abstract</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">self</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getState()"> |
| <h3>getState</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../LinkState.html" title="enum in org.apache.qpid.protonj2.engine">LinkState</a></span> <span class="element-name">getState</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getState()">getState</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the local link state</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteState()"> |
| <h3>getRemoteState</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../LinkState.html" title="enum in org.apache.qpid.protonj2.engine">LinkState</a></span> <span class="element-name">getRemoteState</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getRemoteState()">getRemoteState</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the remote link state (as last communicated)</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="open()"> |
| <h3>open</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">open</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Endpoint.html#open()">Endpoint</a></code></span></div> |
| <div class="block">Open the end point locally, sending the Open performative immediately if possible or holding |
| it until SASL negotiations or the AMQP header exchange and other required performative exchanges |
| has completed. |
| |
| The end point will signal any registered handler of the remote opening the Connection |
| once the remote performative that signals open completion arrives.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#open()">open</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> instance.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="detach()"> |
| <h3>detach</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">detach</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#detach()">Link</a></code></span></div> |
| <div class="block">Detach this end of the link.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#detach()">detach</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>this Link.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="close()"> |
| <h3>close</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">close</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Endpoint.html#close()">Endpoint</a></code></span></div> |
| <div class="block">Close the end point locally and send the closing performative immediately if possible or |
| holds it until the Connection / Engine state allows it. If the engine encounters an error writing |
| the performative or the engine is in a failed state from a previous error then this method will |
| throw an exception. If the engine has been shutdown then this method will close out the local |
| end of the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> and clean up any local resources before returning normally.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#close()">close</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> instance.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setSenderSettleMode(org.apache.qpid.protonj2.types.transport.SenderSettleMode)"> |
| <h3>setSenderSettleMode</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">setSenderSettleMode</span><wbr><span class="parameters">(<a href="../../types/transport/SenderSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">SenderSettleMode</a> senderSettleMode)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#setSenderSettleMode(org.apache.qpid.protonj2.types.transport.SenderSettleMode)">Link</a></code></span></div> |
| <div class="block">Sets the sender settle mode. |
| <p> |
| Should only be called during link set-up, i.e. before calling <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a>. If this endpoint is the |
| initiator of the link, this method can be used to set a value other than the default. |
| <p> |
| If this endpoint is not the initiator, this method should be used to set a local value. According |
| to the AMQP spec, the application may choose to accept the sender's suggestion |
| (accessed by calling <a href="../Link.html#getRemoteSenderSettleMode()"><code>Link.getRemoteSenderSettleMode()</code></a>) or choose another value. The value |
| has no effect on Proton, but may be useful to the application at a later point. |
| <p> |
| In order to be AMQP compliant the application is responsible for honoring the settlement mode. See <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a>.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#setSenderSettleMode(org.apache.qpid.protonj2.types.transport.SenderSettleMode)">setSenderSettleMode</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>senderSettleMode</code> - The <a href="../../types/transport/SenderSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport"><code>SenderSettleMode</code></a> that will be set on the local end of this link.</dd> |
| <dt>Returns:</dt> |
| <dd>this Link.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getSenderSettleMode()"> |
| <h3>getSenderSettleMode</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/transport/SenderSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">SenderSettleMode</a></span> <span class="element-name">getSenderSettleMode</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#getSenderSettleMode()">Link</a></code></span></div> |
| <div class="block">Gets the local link sender settlement mode.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getSenderSettleMode()">getSenderSettleMode</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the local sender settlement mode, or null if none was set.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="../Link.html#setSenderSettleMode(org.apache.qpid.protonj2.types.transport.SenderSettleMode)"><code>Link.setSenderSettleMode(SenderSettleMode)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setReceiverSettleMode(org.apache.qpid.protonj2.types.transport.ReceiverSettleMode)"> |
| <h3>setReceiverSettleMode</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">setReceiverSettleMode</span><wbr><span class="parameters">(<a href="../../types/transport/ReceiverSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">ReceiverSettleMode</a> receiverSettleMode)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#setReceiverSettleMode(org.apache.qpid.protonj2.types.transport.ReceiverSettleMode)">Link</a></code></span></div> |
| <div class="block">Sets the receiver settle mode. |
| <p> |
| Should only be called during link set-up, i.e. before calling <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a>. If this endpoint |
| is the initiator of the link, this method can be used to set a value other than the default. |
| |
| Used in analogous way to <a href="../Link.html#setSenderSettleMode(org.apache.qpid.protonj2.types.transport.SenderSettleMode)"><code>Link.setSenderSettleMode(SenderSettleMode)</code></a></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#setReceiverSettleMode(org.apache.qpid.protonj2.types.transport.ReceiverSettleMode)">setReceiverSettleMode</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>receiverSettleMode</code> - The <a href="../../types/transport/ReceiverSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport"><code>ReceiverSettleMode</code></a> that will be set on the local end of this link.</dd> |
| <dt>Returns:</dt> |
| <dd>this Link.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getReceiverSettleMode()"> |
| <h3>getReceiverSettleMode</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/transport/ReceiverSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">ReceiverSettleMode</a></span> <span class="element-name">getReceiverSettleMode</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#getReceiverSettleMode()">Link</a></code></span></div> |
| <div class="block">Gets the local link receiver settlement mode.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getReceiverSettleMode()">getReceiverSettleMode</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the local receiver settlement mode, or null if none was set.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="../Link.html#setReceiverSettleMode(org.apache.qpid.protonj2.types.transport.ReceiverSettleMode)"><code>Link.setReceiverSettleMode(ReceiverSettleMode)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setSource(org.apache.qpid.protonj2.types.messaging.Source)"> |
| <h3>setSource</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">setSource</span><wbr><span class="parameters">(<a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging">Source</a> source)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#setSource(org.apache.qpid.protonj2.types.messaging.Source)">Link</a></code></span></div> |
| <div class="block">Sets the <a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Source</code></a> to assign to the local end of this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a>. |
| <p> |
| Must be called during link setup, i.e. before calling the <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a> method.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#setSource(org.apache.qpid.protonj2.types.messaging.Source)">setSource</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>source</code> - The <a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Source</code></a> that will be set on the local end of this link.</dd> |
| <dt>Returns:</dt> |
| <dd>this Link.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getSource()"> |
| <h3>getSource</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging">Source</a></span> <span class="element-name">getSource</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getSource()">getSource</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the <a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Source</code></a> for the local end of this link.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setTarget(org.apache.qpid.protonj2.types.messaging.Target)"> |
| <h3>setTarget</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">setTarget</span><wbr><span class="parameters">(<a href="../../types/messaging/Target.html" title="class in org.apache.qpid.protonj2.types.messaging">Target</a> target)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#setTarget(org.apache.qpid.protonj2.types.messaging.Target)">Link</a></code></span></div> |
| <div class="block">Sets the <a href="../../types/messaging/Target.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Target</code></a> to assign to the local end of this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a>. |
| |
| Must be called during link setup, i.e. before calling the <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a> method.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#setTarget(org.apache.qpid.protonj2.types.messaging.Target)">setTarget</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>target</code> - The <a href="../../types/messaging/Target.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Target</code></a> that will be set on the local end of this link.</dd> |
| <dt>Returns:</dt> |
| <dd>this Link.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setTarget(org.apache.qpid.protonj2.types.transactions.Coordinator)"> |
| <h3>setTarget</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">setTarget</span><wbr><span class="parameters">(<a href="../../types/transactions/Coordinator.html" title="class in org.apache.qpid.protonj2.types.transactions">Coordinator</a> coordinator)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#setTarget(org.apache.qpid.protonj2.types.transactions.Coordinator)">Link</a></code></span></div> |
| <div class="block">Sets the <a href="../../types/transactions/Coordinator.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Coordinator</code></a> target to assign to the local end of this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a>. |
| <p> |
| Must be called during link setup, i.e. before calling the <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a> method.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#setTarget(org.apache.qpid.protonj2.types.transactions.Coordinator)">setTarget</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>coordinator</code> - The <a href="../../types/transactions/Coordinator.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Coordinator</code></a> target that will be set on the local end of this link.</dd> |
| <dt>Returns:</dt> |
| <dd>this Link.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></code> - if the <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> has already been opened.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getTarget()"> |
| <h3>getTarget</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="type-parameters"><T extends <a href="../../types/messaging/Terminus.html" title="interface in org.apache.qpid.protonj2.types.messaging">Terminus</a>></span> <span class="return-type">T</span> <span class="element-name">getTarget</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#getTarget()">Link</a></code></span></div> |
| <div class="block">Returns the currently set Target for this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a>. A link target can be either |
| a <a href="../../types/messaging/Target.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Target</code></a> type for a <a href="../Sender.html" title="interface in org.apache.qpid.protonj2.engine"><code>Sender</code></a> or <a href="../Receiver.html" title="interface in org.apache.qpid.protonj2.engine"><code>Receiver</code></a> link or if the link is |
| to be transaction resource then the target type will be a <a href="../../types/transactions/Coordinator.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Coordinator</code></a> instance.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getTarget()">getTarget</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Type Parameters:</dt> |
| <dd><code>T</code> - The terminus type that the target should be cast to on return.</dd> |
| <dt>Returns:</dt> |
| <dd>the link target <a href="../../types/messaging/Terminus.html" title="interface in org.apache.qpid.protonj2.types.messaging"><code>Terminus</code></a> for the local end of this link.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setProperties(java.util.Map)"> |
| <h3>setProperties</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">setProperties</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>> properties)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Endpoint.html#setProperties(java.util.Map)">Endpoint</a></code></span></div> |
| <div class="block">Sets the properties to be sent to the remote when this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is Opened. |
| |
| The <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> properties value can only be modified prior to a call to <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a>, |
| once the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> has been opened locally an error will be thrown if this method |
| is called.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#setProperties(java.util.Map)">setProperties</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>properties</code> - The properties that will be sent to the remote when this Connection is opened.</dd> |
| <dt>Returns:</dt> |
| <dd>this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> instance.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getProperties()"> |
| <h3>getProperties</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>></span> <span class="element-name">getProperties</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#getProperties()">getProperties</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the configured properties sent to the remote when this Connection is opened.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setOfferedCapabilities(org.apache.qpid.protonj2.types.Symbol...)"> |
| <h3>setOfferedCapabilities</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">setOfferedCapabilities</span><wbr><span class="parameters">(<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>... capabilities)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Endpoint.html#setOfferedCapabilities(org.apache.qpid.protonj2.types.Symbol...)">Endpoint</a></code></span></div> |
| <div class="block">Sets the capabilities to be offered on to the remote when this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is |
| opened. |
| |
| The offered capabilities value can only be modified prior to a call to <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a>, |
| once the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> has been opened locally an error will be thrown if this method |
| is called.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#setOfferedCapabilities(org.apache.qpid.protonj2.types.Symbol...)">setOfferedCapabilities</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>capabilities</code> - The capabilities to be offered to the remote when the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is opened.</dd> |
| <dt>Returns:</dt> |
| <dd>this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> instance.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getOfferedCapabilities()"> |
| <h3>getOfferedCapabilities</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>[]</span> <span class="element-name">getOfferedCapabilities</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#getOfferedCapabilities()">getOfferedCapabilities</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the configured capabilities that are offered to the remote when the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is opened.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setDesiredCapabilities(org.apache.qpid.protonj2.types.Symbol...)"> |
| <h3>setDesiredCapabilities</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">setDesiredCapabilities</span><wbr><span class="parameters">(<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>... capabilities)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Endpoint.html#setDesiredCapabilities(org.apache.qpid.protonj2.types.Symbol...)">Endpoint</a></code></span></div> |
| <div class="block">Sets the capabilities that are desired from the remote when this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is |
| opened. |
| |
| The desired capabilities value can only be modified prior to a call to <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a>, |
| once the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> has been opened locally an error will be thrown if this method |
| is called.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#setDesiredCapabilities(org.apache.qpid.protonj2.types.Symbol...)">setDesiredCapabilities</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>capabilities</code> - The capabilities desired from the remote when the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is opened.</dd> |
| <dt>Returns:</dt> |
| <dd>this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> instance.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getDesiredCapabilities()"> |
| <h3>getDesiredCapabilities</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>[]</span> <span class="element-name">getDesiredCapabilities</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#getDesiredCapabilities()">getDesiredCapabilities</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the configured desired capabilities that are sent to the remote when the Connection is opened.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setMaxMessageSize(org.apache.qpid.protonj2.types.UnsignedLong)"> |
| <h3>setMaxMessageSize</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">setMaxMessageSize</span><wbr><span class="parameters">(<a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a> maxMessageSize)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#setMaxMessageSize(org.apache.qpid.protonj2.types.UnsignedLong)">Link</a></code></span></div> |
| <div class="block">Sets the local link max message size, to be conveyed to the peer via the Attach frame |
| when attaching the link to the session. Null or 0 means no limit. |
| <p> |
| Must be called during link setup, i.e. before calling the <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a> method.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#setMaxMessageSize(org.apache.qpid.protonj2.types.UnsignedLong)">setMaxMessageSize</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>maxMessageSize</code> - the local max message size value, or null to clear. 0 also means no limit.</dd> |
| <dt>Returns:</dt> |
| <dd>this Link.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMaxMessageSize()"> |
| <h3>getMaxMessageSize</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a></span> <span class="element-name">getMaxMessageSize</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#getMaxMessageSize()">Link</a></code></span></div> |
| <div class="block">Gets the local link max message size.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getMaxMessageSize()">getMaxMessageSize</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the local max message size, or null if none was set. 0 also means no limit.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="../Link.html#setMaxMessageSize(org.apache.qpid.protonj2.types.UnsignedLong)"><code>Link.setMaxMessageSize(UnsignedLong)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isLocallyOpen()"> |
| <h3>isLocallyOpen</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isLocallyOpen</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Endpoint.html#isLocallyOpen()">Endpoint</a></code></span></div> |
| <div class="block">Returns true if this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is currently locally open meaning that the <a href="../Endpoint.html#open()"><code>Endpoint.open()</code></a> |
| has been called but the <a href="../Endpoint.html#close()"><code>Endpoint.close()</code></a> has not.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#isLocallyOpen()">isLocallyOpen</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd><code>true</code> if the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is locally open.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../Endpoint.html#isLocallyClosed()"><code>Endpoint.isLocallyClosed()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isLocallyClosed()"> |
| <h3>isLocallyClosed</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isLocallyClosed</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Endpoint.html#isLocallyClosed()">Endpoint</a></code></span></div> |
| <div class="block">Returns true if this <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is currently locally closed meaning that a call to the |
| <a href="../Endpoint.html#close()"><code>Endpoint.close()</code></a> method has occurred.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#isLocallyClosed()">isLocallyClosed</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd><code>true</code> if the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a> is locally closed.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../Endpoint.html#isLocallyOpen()"><code>Endpoint.isLocallyOpen()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isLocallyDetached()"> |
| <h3>isLocallyDetached</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isLocallyDetached</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#isLocallyDetached()">Link</a></code></span></div> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently locally detached meaning the state returned |
| from <a href="../Link.html#getState()"><code>Link.getState()</code></a> is equal to <a href="../LinkState.html#DETACHED"><code>LinkState.DETACHED</code></a>. A link |
| is locally detached after a call to <a href="../Link.html#detach()"><code>Link.detach()</code></a>.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#isLocallyDetached()">isLocallyDetached</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if the link is locally closed.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../Endpoint.html#isLocallyOpen()"><code>Endpoint.isLocallyOpen()</code></a></li> |
| <li><a href="../Endpoint.html#isLocallyClosed()"><code>Endpoint.isLocallyClosed()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isLocallyClosedOrDetached()"> |
| <h3>isLocallyClosedOrDetached</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isLocallyClosedOrDetached</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#isLocallyClosedOrDetached()">Link</a></code></span></div> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently locally detached or locally closed meaning the |
| state returned from <a href="../Link.html#getState()"><code>Link.getState()</code></a> is equal to <a href="../LinkState.html#DETACHED"><code>LinkState.DETACHED</code></a> or |
| <a href="../LinkState.html#CLOSED"><code>LinkState.CLOSED</code></a>. A link is locally detached after a call to <a href="../Link.html#detach()"><code>Link.detach()</code></a> and |
| is locally closed after a call to <a href="../Endpoint.html#close()"><code>Endpoint.close()</code></a>.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#isLocallyClosedOrDetached()">isLocallyClosedOrDetached</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if the link is locally closed or detached.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../Endpoint.html#isLocallyOpen()"><code>Endpoint.isLocallyOpen()</code></a></li> |
| <li><a href="../Link.html#isLocallyDetached()"><code>Link.isLocallyDetached()</code></a></li> |
| <li><a href="../Endpoint.html#isLocallyClosed()"><code>Endpoint.isLocallyClosed()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isRemotelyOpen()"> |
| <h3>isRemotelyOpen</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isRemotelyOpen</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#isRemotelyOpen()">Link</a></code></span></div> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently remotely open meaning the state returned |
| from <a href="../Link.html#getRemoteState()"><code>Link.getRemoteState()</code></a> is equal to <a href="../LinkState.html#ACTIVE"><code>LinkState.ACTIVE</code></a>. A link |
| is remotely opened after an <a href="../../types/transport/Attach.html" title="class in org.apache.qpid.protonj2.types.transport"><code>Attach</code></a> has been received from the remote and before a |
| <a href="../../types/transport/Detach.html" title="class in org.apache.qpid.protonj2.types.transport"><code>Detach</code></a> has been received from the remote.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#isRemotelyOpen()">isRemotelyOpen</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#isRemotelyOpen()">isRemotelyOpen</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if the link is remotely open.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../Link.html#isRemotelyClosed()"><code>Link.isRemotelyClosed()</code></a></li> |
| <li><a href="../Link.html#isRemotelyDetached()"><code>Link.isRemotelyDetached()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isRemotelyClosed()"> |
| <h3>isRemotelyClosed</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isRemotelyClosed</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#isRemotelyClosed()">Link</a></code></span></div> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently remotely closed meaning the state returned |
| from <a href="../Link.html#getRemoteState()"><code>Link.getRemoteState()</code></a> is equal to <a href="../LinkState.html#CLOSED"><code>LinkState.CLOSED</code></a>. A link |
| is remotely closed after an <a href="../../types/transport/Detach.html" title="class in org.apache.qpid.protonj2.types.transport"><code>Detach</code></a> has been received from the remote with the close |
| flag equal to true.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#isRemotelyClosed()">isRemotelyClosed</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#isRemotelyClosed()">isRemotelyClosed</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if the link is remotely closed.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../Link.html#isRemotelyOpen()"><code>Link.isRemotelyOpen()</code></a></li> |
| <li><a href="../Link.html#isRemotelyDetached()"><code>Link.isRemotelyDetached()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isRemotelyDetached()"> |
| <h3>isRemotelyDetached</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isRemotelyDetached</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#isRemotelyDetached()">Link</a></code></span></div> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently remotely detached meaning the state returned |
| from <a href="../Link.html#getRemoteState()"><code>Link.getRemoteState()</code></a> is equal to <a href="../LinkState.html#DETACHED"><code>LinkState.DETACHED</code></a>. A link |
| is remotely detached after an <a href="../../types/transport/Detach.html" title="class in org.apache.qpid.protonj2.types.transport"><code>Detach</code></a> has been received from the remote with the close |
| flag equal to false.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#isRemotelyDetached()">isRemotelyDetached</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if the link is remotely detached.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../Link.html#isRemotelyOpen()"><code>Link.isRemotelyOpen()</code></a></li> |
| <li><a href="../Link.html#isRemotelyClosed()"><code>Link.isRemotelyClosed()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isRemotelyClosedOrDetached()"> |
| <h3>isRemotelyClosedOrDetached</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isRemotelyClosedOrDetached</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#isRemotelyClosedOrDetached()">Link</a></code></span></div> |
| <div class="block">Returns true if this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> is currently remotely detached or closed meaning the state |
| returned from <a href="../Link.html#getRemoteState()"><code>Link.getRemoteState()</code></a> is equal to <a href="../LinkState.html#DETACHED"><code>LinkState.DETACHED</code></a> or |
| <a href="../LinkState.html#CLOSED"><code>LinkState.CLOSED</code></a>. A link is remotely detached or closed after a <a href="../../types/transport/Detach.html" title="class in org.apache.qpid.protonj2.types.transport"><code>Detach</code></a> |
| has been received from the remote.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#isRemotelyClosedOrDetached()">isRemotelyClosedOrDetached</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if the link is remotely detached or closed.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../Link.html#isRemotelyOpen()"><code>Link.isRemotelyOpen()</code></a></li> |
| <li><a href="../Link.html#isRemotelyClosed()"><code>Link.isRemotelyClosed()</code></a></li> |
| <li><a href="../Link.html#isRemotelyDetached()"><code>Link.isRemotelyDetached()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteSenderSettleMode()"> |
| <h3>getRemoteSenderSettleMode</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/transport/SenderSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">SenderSettleMode</a></span> <span class="element-name">getRemoteSenderSettleMode</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#getRemoteSenderSettleMode()">Link</a></code></span></div> |
| <div class="block">Gets the remote link sender settlement mode, as conveyed from the peer via the Attach frame |
| when attaching the link to the session.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getRemoteSenderSettleMode()">getRemoteSenderSettleMode</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the sender settlement mode conveyed by the peer, or null if there was none.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="../Link.html#setSenderSettleMode(org.apache.qpid.protonj2.types.transport.SenderSettleMode)"><code>Link.setSenderSettleMode(SenderSettleMode)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteReceiverSettleMode()"> |
| <h3>getRemoteReceiverSettleMode</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/transport/ReceiverSettleMode.html" title="enum in org.apache.qpid.protonj2.types.transport">ReceiverSettleMode</a></span> <span class="element-name">getRemoteReceiverSettleMode</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#getRemoteReceiverSettleMode()">Link</a></code></span></div> |
| <div class="block">Gets the remote link receiver settlement mode, as conveyed from the peer via the Attach frame |
| when attaching the link to the session.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getRemoteReceiverSettleMode()">getRemoteReceiverSettleMode</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the sender receiver mode conveyed by the peer, or null if there was none.</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="../Link.html#setReceiverSettleMode(org.apache.qpid.protonj2.types.transport.ReceiverSettleMode)"><code>Link.setReceiverSettleMode(ReceiverSettleMode)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteSource()"> |
| <h3>getRemoteSource</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging">Source</a></span> <span class="element-name">getRemoteSource</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getRemoteSource()">getRemoteSource</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the source <a href="../../types/messaging/Terminus.html" title="interface in org.apache.qpid.protonj2.types.messaging"><code>Terminus</code></a> for the remote end of this link.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteTarget()"> |
| <h3>getRemoteTarget</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="type-parameters"><T extends <a href="../../types/messaging/Terminus.html" title="interface in org.apache.qpid.protonj2.types.messaging">Terminus</a>></span> <span class="return-type">T</span> <span class="element-name">getRemoteTarget</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#getRemoteTarget()">Link</a></code></span></div> |
| <div class="block">Returns the remote target <a href="../../types/messaging/Terminus.html" title="interface in org.apache.qpid.protonj2.types.messaging"><code>Terminus</code></a> cast to the given type. This can be used when |
| the underlying type is known by the caller or as a control to validate the assumption of the |
| underlying type. |
| <p> |
| the currently set Target for this <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a>. A link target can be either a <a href="../../types/messaging/Target.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Target</code></a> |
| type for a <a href="../Sender.html" title="interface in org.apache.qpid.protonj2.engine"><code>Sender</code></a> or <a href="../Receiver.html" title="interface in org.apache.qpid.protonj2.engine"><code>Receiver</code></a> link or if the link is to be transaction resource |
| then the target type will be a <a href="../../types/transactions/Coordinator.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Coordinator</code></a> instance.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getRemoteTarget()">getRemoteTarget</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Type Parameters:</dt> |
| <dd><code>T</code> - The type that the remote <a href="../../types/messaging/Terminus.html" title="interface in org.apache.qpid.protonj2.types.messaging"><code>Terminus</code></a> will be cast to on return.</dd> |
| <dt>Returns:</dt> |
| <dd>the source <a href="../../types/messaging/Terminus.html" title="interface in org.apache.qpid.protonj2.types.messaging"><code>Terminus</code></a> for the remote end of this link.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteOfferedCapabilities()"> |
| <h3>getRemoteOfferedCapabilities</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>[]</span> <span class="element-name">getRemoteOfferedCapabilities</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#getRemoteOfferedCapabilities()">getRemoteOfferedCapabilities</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the capabilities offered by the remote when it opened its end of the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteDesiredCapabilities()"> |
| <h3>getRemoteDesiredCapabilities</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>[]</span> <span class="element-name">getRemoteDesiredCapabilities</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#getRemoteDesiredCapabilities()">getRemoteDesiredCapabilities</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the capabilities desired by the remote when it opened its end of the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteProperties()"> |
| <h3>getRemoteProperties</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>></span> <span class="element-name">getRemoteProperties</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Endpoint.html#getRemoteProperties()">getRemoteProperties</a></code> in interface <code><a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the properties sent by the remote when it opened its end of the <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine"><code>Endpoint</code></a>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRemoteMaxMessageSize()"> |
| <h3>getRemoteMaxMessageSize</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../../types/UnsignedLong.html" title="class in org.apache.qpid.protonj2.types">UnsignedLong</a></span> <span class="element-name">getRemoteMaxMessageSize</span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#getRemoteMaxMessageSize()">Link</a></code></span></div> |
| <div class="block">Gets the remote link max message size, as conveyed from the peer via the Attach frame |
| when attaching the link to the session.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#getRemoteMaxMessageSize()">getRemoteMaxMessageSize</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Returns:</dt> |
| <dd>the remote max message size conveyed by the peer, or null if none was set. 0 also means no limit.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="localDetachHandler(org.apache.qpid.protonj2.engine.EventHandler)"> |
| <h3>localDetachHandler</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">localDetachHandler</span><wbr><span class="parameters">(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>> localDetachHandler)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#localDetachHandler(org.apache.qpid.protonj2.engine.EventHandler)">Link</a></code></span></div> |
| <div class="block">Sets a <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> for when an this link is detached locally via a call to <a href="../Link.html#detach()"><code>Link.detach()</code></a> |
| |
| This is a convenience event that supplements the normal <a href="../Endpoint.html#localCloseHandler(org.apache.qpid.protonj2.engine.EventHandler)"><code>Endpoint.localCloseHandler(EventHandler)</code></a> |
| event point if set. If no local detached event handler is set the endpoint will route the detached event |
| to the local closed event handler if set and allow it to process the event in one location. |
| <p> |
| Typically used by clients for logging or other state update event processing. Clients should not perform any |
| blocking calls within this context. It is an error for the handler to throw an exception and the outcome of |
| doing so is undefined.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#localDetachHandler(org.apache.qpid.protonj2.engine.EventHandler)">localDetachHandler</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>localDetachHandler</code> - The <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> to notify when this link is locally detached.</dd> |
| <dt>Returns:</dt> |
| <dd>the link for chaining.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="detachHandler(org.apache.qpid.protonj2.engine.EventHandler)"> |
| <h3>detachHandler</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">detachHandler</span><wbr><span class="parameters">(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>> remoteDetachHandler)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#detachHandler(org.apache.qpid.protonj2.engine.EventHandler)">Link</a></code></span></div> |
| <div class="block">Sets a <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> for when an AMQP Detach frame is received from the remote peer for this |
| <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> which would have been locally opened previously, the Detach from would have been marked |
| as not having been closed. |
| <p> |
| This is a convenience event that supplements the normal <a href="../Endpoint.html#closeHandler(org.apache.qpid.protonj2.engine.EventHandler)"><code>Endpoint.closeHandler(EventHandler)</code></a> |
| event point if set. If no detached event handler is set the endpoint will route the detached event to the |
| closed event handler if set and allow it to process the event in one location.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#detachHandler(org.apache.qpid.protonj2.engine.EventHandler)">detachHandler</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>remoteDetachHandler</code> - The <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> to notify when this link is remotely closed.</dd> |
| <dt>Returns:</dt> |
| <dd>the <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine"><code>Link</code></a> for chaining.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="parentEndpointClosedHandler(org.apache.qpid.protonj2.engine.EventHandler)"> |
| <h3>parentEndpointClosedHandler</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">parentEndpointClosedHandler</span><wbr><span class="parameters">(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>> handler)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../Link.html#parentEndpointClosedHandler(org.apache.qpid.protonj2.engine.EventHandler)">Link</a></code></span></div> |
| <div class="block">Sets a <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> for when the parent <a href="../Session.html" title="interface in org.apache.qpid.protonj2.engine"><code>Session</code></a> or <a href="../Connection.html" title="interface in org.apache.qpid.protonj2.engine"><code>Connection</code></a> of this link is |
| locally closed. |
| <p> |
| Typically used by clients for logging or other state update event processing. Clients should not perform any |
| blocking calls within this context. It is an error for the handler to throw an exception and the outcome of |
| doing so is undefined.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../Link.html#parentEndpointClosedHandler(org.apache.qpid.protonj2.engine.EventHandler)">parentEndpointClosedHandler</a></code> in interface <code><a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a> extends <a href="../Link.html" title="interface in org.apache.qpid.protonj2.engine">Link</a><<a href="ProtonLink.html" title="type parameter in ProtonLink">L</a>>></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>handler</code> - The <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> to notify when this link's parent Session is locally closed.</dd> |
| <dt>Returns:</dt> |
| <dd>the link for chaining.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="transitionedToLocallyOpened()"> |
| <h3>transitionedToLocallyOpened</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">transitionedToLocallyOpened</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="transitionedToLocallyDetached()"> |
| <h3>transitionedToLocallyDetached</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">transitionedToLocallyDetached</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="transitionedToLocallyClosed()"> |
| <h3>transitionedToLocallyClosed</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">transitionedToLocallyClosed</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="transitionToRemotelyOpenedState()"> |
| <h3>transitionToRemotelyOpenedState</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">transitionToRemotelyOpenedState</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="transitionToRemotelyDetached()"> |
| <h3>transitionToRemotelyDetached</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">transitionToRemotelyDetached</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="transitionToRemotelyClosed()"> |
| <h3>transitionToRemotelyClosed</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">transitionToRemotelyClosed</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="transitionToParentLocallyClosed()"> |
| <h3>transitionToParentLocallyClosed</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">transitionToParentLocallyClosed</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="transitionToParentRemotelyClosed()"> |
| <h3>transitionToParentRemotelyClosed</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">transitionToParentRemotelyClosed</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="handleRemoteAttach(org.apache.qpid.protonj2.types.transport.Attach)"> |
| <h3>handleRemoteAttach</h3> |
| <div class="member-signature"><span class="modifiers">protected abstract</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">handleRemoteAttach</span><wbr><span class="parameters">(<a href="../../types/transport/Attach.html" title="class in org.apache.qpid.protonj2.types.transport">Attach</a> attach)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="handleRemoteDetach(org.apache.qpid.protonj2.types.transport.Detach)"> |
| <h3>handleRemoteDetach</h3> |
| <div class="member-signature"><span class="modifiers">protected abstract</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">handleRemoteDetach</span><wbr><span class="parameters">(<a href="../../types/transport/Detach.html" title="class in org.apache.qpid.protonj2.types.transport">Detach</a> detach)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="handleRemoteFlow(org.apache.qpid.protonj2.types.transport.Flow)"> |
| <h3>handleRemoteFlow</h3> |
| <div class="member-signature"><span class="modifiers">protected abstract</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">handleRemoteFlow</span><wbr><span class="parameters">(<a href="../../types/transport/Flow.html" title="class in org.apache.qpid.protonj2.types.transport">Flow</a> flow)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="handleRemoteDisposition(org.apache.qpid.protonj2.types.transport.Disposition,org.apache.qpid.protonj2.engine.impl.ProtonOutgoingDelivery)"> |
| <h3>handleRemoteDisposition</h3> |
| <div class="member-signature"><span class="modifiers">protected abstract</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">handleRemoteDisposition</span><wbr><span class="parameters">(<a href="../../types/transport/Disposition.html" title="class in org.apache.qpid.protonj2.types.transport">Disposition</a> disposition, |
| <a href="ProtonOutgoingDelivery.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonOutgoingDelivery</a> delivery)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="handleRemoteDisposition(org.apache.qpid.protonj2.types.transport.Disposition,org.apache.qpid.protonj2.engine.impl.ProtonIncomingDelivery)"> |
| <h3>handleRemoteDisposition</h3> |
| <div class="member-signature"><span class="modifiers">protected abstract</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">handleRemoteDisposition</span><wbr><span class="parameters">(<a href="../../types/transport/Disposition.html" title="class in org.apache.qpid.protonj2.types.transport">Disposition</a> disposition, |
| <a href="ProtonIncomingDelivery.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonIncomingDelivery</a> delivery)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="handleRemoteTransfer(org.apache.qpid.protonj2.types.transport.Transfer,org.apache.qpid.protonj2.buffer.ProtonBuffer)"> |
| <h3>handleRemoteTransfer</h3> |
| <div class="member-signature"><span class="modifiers">protected abstract</span> <span class="return-type"><a href="ProtonIncomingDelivery.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonIncomingDelivery</a></span> <span class="element-name">handleRemoteTransfer</span><wbr><span class="parameters">(<a href="../../types/transport/Transfer.html" title="class in org.apache.qpid.protonj2.types.transport">Transfer</a> transfer, |
| <a href="../../buffer/ProtonBuffer.html" title="interface in org.apache.qpid.protonj2.buffer">ProtonBuffer</a> payload)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="decorateOutgoingFlow(org.apache.qpid.protonj2.types.transport.Flow)"> |
| <h3>decorateOutgoingFlow</h3> |
| <div class="member-signature"><span class="modifiers">protected abstract</span> <span class="return-type"><a href="ProtonLink.html" title="type parameter in ProtonLink">L</a></span> <span class="element-name">decorateOutgoingFlow</span><wbr><span class="parameters">(<a href="../../types/transport/Flow.html" title="class in org.apache.qpid.protonj2.types.transport">Flow</a> flow)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="checkLinkOperable(java.lang.String)"> |
| <h3>checkLinkOperable</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">checkLinkOperable</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> failurePrefix)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="areDeliveriesStillActive()"> |
| <h3>areDeliveriesStillActive</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">areDeliveriesStillActive</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="checkNotOpened(java.lang.String)"> |
| <h3>checkNotOpened</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">checkNotOpened</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> errorMessage)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="checkNotClosed(java.lang.String)"> |
| <h3>checkNotClosed</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">checkNotClosed</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> errorMessage)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2024 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |