| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.11) on Wed May 12 10:10:59 EDT 2021 --> |
| <title>Uses of Interface org.apache.qpid.protonj2.engine.TransactionController (Qpid ProtonJ2 Parent 1.0.0-M1 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2021-05-12"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-3.5.1.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Uses of Interface org.apache.qpid.protonj2.engine.TransactionController (Qpid ProtonJ2 Parent 1.0.0-M1 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "../../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h2 title="Uses of Interface org.apache.qpid.protonj2.engine.TransactionController" class="title">Uses of Interface<br>org.apache.qpid.protonj2.engine.TransactionController</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.qpid.protonj2.engine">org.apache.qpid.protonj2.engine</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.qpid.protonj2.engine.impl">org.apache.qpid.protonj2.engine.impl</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.qpid.protonj2.engine"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a> in <a href="../package-summary.html">org.apache.qpid.protonj2.engine</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.qpid.protonj2.engine</a> that return <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#addCapacityAvailableHandler(org.apache.qpid.protonj2.engine.EventHandler)">addCapacityAvailableHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> handler)</code></th> |
| <td class="colLast"> |
| <div class="block">Allows the caller to add an <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> that will be signaled when the underlying |
| link for this <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> has been granted credit which would then allow for |
| transaction <a href="../../types/transactions/Declared.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declared</code></a> and <a href="../../types/transactions/Discharge.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Discharge</code></a> commands to be sent to the remote Transactional |
| Resource.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Session.</span><code><span class="memberNameLink"><a href="../Session.html#coordinator(java.lang.String)">coordinator</a></span>​(java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Create a new <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> using the provided name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declare(org.apache.qpid.protonj2.engine.Transaction)">declare</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction)</code></th> |
| <td class="colLast"> |
| <div class="block">Request that the remote <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> declare a new transaction and |
| respond with a new transaction Id for that transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declaredHandler(org.apache.qpid.protonj2.engine.EventHandler)">declaredHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declaredEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link has responded to a previous |
| <a href="../../types/transactions/Declare.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declare</code></a> request and the transaction can now be used to enroll deliveries into the |
| active transaction.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declareFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">declareFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declareFailureEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link responds to a <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine"><code>Transaction</code></a> declaration |
| with an <a href="../../types/messaging/Rejected.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Rejected</code></a> outcome indicating that the transaction could not be successfully declared.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)">discharge</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction, |
| boolean failed)</code></th> |
| <td class="colLast"> |
| <div class="block">Request that the remote <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> discharge the given transaction and |
| with the specified failure state (true for failed).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#dischargedHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargedHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargedEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link has responded to a previous |
| <a href="../TransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)"><code>discharge(Transaction, boolean)</code></a> request and the transaction has |
| been retired.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#dischargeFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargeFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargeFailureEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link has responded to a previous |
| <a href="../TransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)"><code>discharge(Transaction, boolean)</code></a> request and the transaction discharge |
| failed for some reason.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#parentEndpointClosedHandler(org.apache.qpid.protonj2.engine.EventHandler)">parentEndpointClosedHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> handler)</code></th> |
| <td class="colLast"> |
| <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 <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> |
| is locally closed.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#setCoordinator(org.apache.qpid.protonj2.types.transactions.Coordinator)">setCoordinator</a></span>​(<a href="../../types/transactions/Coordinator.html" title="class in org.apache.qpid.protonj2.types.transactions">Coordinator</a> coordinator)</code></th> |
| <td class="colLast"> |
| <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="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#setSource(org.apache.qpid.protonj2.types.messaging.Source)">setSource</a></span>​(<a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging">Source</a> source)</code></th> |
| <td class="colLast"> |
| <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="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.qpid.protonj2.engine</a> that return types with arguments of type <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declare()">declare</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Request that the remote <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> declare a new transaction and |
| respond with a new transaction Id for that transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#newTransaction()">newTransaction</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine"><code>Transaction</code></a> instances that is returned in the <a href="../TransactionState.html#IDLE"><code>TransactionState.IDLE</code></a> state |
| which can be populated with application specific attachments or assigned a linked resource prior to calling |
| the</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>java.util.Collection<<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#transactions()">transactions</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a list of <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine"><code>Transaction</code></a> objects that are active within this <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> which |
| have not reached a terminal state meaning they have not been successfully discharged and have not failed in |
| either the <a href="../../types/transactions/Declare.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declare</code></a> phase or the <a href="../../types/transactions/Discharge.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Discharge</code></a> phase.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../package-summary.html">org.apache.qpid.protonj2.engine</a> with type arguments of type <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#addCapacityAvailableHandler(org.apache.qpid.protonj2.engine.EventHandler)">addCapacityAvailableHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> handler)</code></th> |
| <td class="colLast"> |
| <div class="block">Allows the caller to add an <a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine"><code>EventHandler</code></a> that will be signaled when the underlying |
| link for this <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> has been granted credit which would then allow for |
| transaction <a href="../../types/transactions/Declared.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declared</code></a> and <a href="../../types/transactions/Discharge.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Discharge</code></a> commands to be sent to the remote Transactional |
| Resource.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declare(org.apache.qpid.protonj2.engine.Transaction)">declare</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction)</code></th> |
| <td class="colLast"> |
| <div class="block">Request that the remote <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> declare a new transaction and |
| respond with a new transaction Id for that transaction.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declaredHandler(org.apache.qpid.protonj2.engine.EventHandler)">declaredHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declaredEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link has responded to a previous |
| <a href="../../types/transactions/Declare.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declare</code></a> request and the transaction can now be used to enroll deliveries into the |
| active transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declareFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">declareFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declareFailureEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link responds to a <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine"><code>Transaction</code></a> declaration |
| with an <a href="../../types/messaging/Rejected.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Rejected</code></a> outcome indicating that the transaction could not be successfully declared.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)">discharge</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction, |
| boolean failed)</code></th> |
| <td class="colLast"> |
| <div class="block">Request that the remote <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> discharge the given transaction and |
| with the specified failure state (true for failed).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#dischargedHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargedHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargedEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link has responded to a previous |
| <a href="../TransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)"><code>discharge(Transaction, boolean)</code></a> request and the transaction has |
| been retired.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#dischargeFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargeFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargeFailureEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link has responded to a previous |
| <a href="../TransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)"><code>discharge(Transaction, boolean)</code></a> request and the transaction discharge |
| failed for some reason.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#parentEndpointClosedHandler(org.apache.qpid.protonj2.engine.EventHandler)">parentEndpointClosedHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> handler)</code></th> |
| <td class="colLast"> |
| <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 <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> |
| is locally closed.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.qpid.protonj2.engine.impl"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a> in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a></h3> |
| <table class="useSummary"> |
| <caption><span>Classes in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a> that implement <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonTransactionController</a></span></code></th> |
| <td class="colLast"> |
| <div class="block"><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> implementation that implements the abstraction |
| around a sender link that initiates requests to <a href="../../types/transactions/Declare.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declare</code></a> and to |
| <a href="../../types/transactions/Discharge.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Discharge</code></a> AMQP <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine"><code>Transaction</code></a> instance.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a> that return <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#close()">close</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonSession.</span><code><span class="memberNameLink"><a href="../impl/ProtonSession.html#coordinator(java.lang.String)">coordinator</a></span>​(java.lang.String name)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declare(org.apache.qpid.protonj2.engine.Transaction)">declare</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declaredHandler(org.apache.qpid.protonj2.engine.EventHandler)">declaredHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declaredEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declareFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">declareFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declareFailureEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)">discharge</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction, |
| boolean failed)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#dischargedHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargedHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargedEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#dischargeFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargeFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargeFailureEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#open()">open</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#parentEndpointClosedHandler(org.apache.qpid.protonj2.engine.EventHandler)">parentEndpointClosedHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> handler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#setCondition(org.apache.qpid.protonj2.types.transport.ErrorCondition)">setCondition</a></span>​(<a href="../../types/transport/ErrorCondition.html" title="class in org.apache.qpid.protonj2.types.transport">ErrorCondition</a> condition)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#setCoordinator(org.apache.qpid.protonj2.types.transactions.Coordinator)">setCoordinator</a></span>​(<a href="../../types/transactions/Coordinator.html" title="class in org.apache.qpid.protonj2.types.transactions">Coordinator</a> coordinator)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#setDesiredCapabilities(org.apache.qpid.protonj2.types.Symbol...)">setDesiredCapabilities</a></span>​(<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>... desiredCapabilities)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#setOfferedCapabilities(org.apache.qpid.protonj2.types.Symbol...)">setOfferedCapabilities</a></span>​(<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>... offeredCapabilities)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#setProperties(java.util.Map)">setProperties</a></span>​(java.util.Map<<a href="../../types/Symbol.html" title="class in org.apache.qpid.protonj2.types">Symbol</a>,​java.lang.Object> properties)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#setSource(org.apache.qpid.protonj2.types.messaging.Source)">setSource</a></span>​(<a href="../../types/messaging/Source.html" title="class in org.apache.qpid.protonj2.types.messaging">Source</a> source)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a> that return types with arguments of type <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declare()">declare</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>java.util.Collection<<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#transactions()">transactions</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a> with type arguments of type <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../impl/ProtonTransactionController.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonTransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#addCapacityAvailableHandler(org.apache.qpid.protonj2.engine.EventHandler)">addCapacityAvailableHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> handler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declare(org.apache.qpid.protonj2.engine.Transaction)">declare</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declaredHandler(org.apache.qpid.protonj2.engine.EventHandler)">declaredHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declaredEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declareFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">declareFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declareFailureEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)">discharge</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction, |
| boolean failed)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#dischargedHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargedHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargedEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#dischargeFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargeFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargeFailureEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#parentEndpointClosedHandler(org.apache.qpid.protonj2.engine.EventHandler)">parentEndpointClosedHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> handler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |