| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.1) on Tue Jun 15 21:55:05 PDT 2021 --> |
| <title>AbstractOutgoingFileTransfer (Eclipse Communication Framework (ECF) 3.14.22 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <meta name="dc.created" content="2021-06-15"> |
| <meta name="description" content="declaration: package: org.eclipse.ecf.provider.filetransfer.outgoing, class: AbstractOutgoingFileTransfer"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../script-dir/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../script-dir/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../../script-dir/jquery-3.4.1.js"></script> |
| <script type="text/javascript" src="../../../../../../script-dir/jquery-ui.js"></script> |
| </head> |
| <body class="class-declaration"> |
| <script type="text/javascript">var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":6,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flexBox"> |
| <header role="banner" class="flexHeader"> |
| <nav role="navigation"> |
| <!-- ========= 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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractOutgoingFileTransfer.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <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="subNavList"> |
| <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 class="navListSearch"><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="skipNav"><a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| </nav> |
| </header> |
| <div class="flexContent"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.ecf.provider.filetransfer.outgoing</a></div> |
| <h1 title="Class AbstractOutgoingFileTransfer" class="title">Class AbstractOutgoingFileTransfer</h1> |
| </div> |
| <div class="contentContainer"> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a> |
| <div class="inheritance">org.eclipse.ecf.provider.filetransfer.outgoing.AbstractOutgoingFileTransfer</div> |
| </div> |
| <section class="description"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code>org.eclipse.core.runtime.IAdaptable</code>, <code><a href="../../../core/identity/IIdentifiable.html" title="interface in org.eclipse.ecf.core.identity">IIdentifiable</a></code>, <code><a href="../../../filetransfer/IFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransfer</a></code>, <code><a href="../../../filetransfer/IOutgoingFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer">IOutgoingFileTransfer</a></code>, <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html" title="interface in org.eclipse.ecf.filetransfer">ISendFileTransferContainerAdapter</a></code>, <code><a href="../../../filetransfer/service/ISendFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer.service">ISendFileTransfer</a></code></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="AbstractUrlConnectionOutgoingFileTransfer.html" title="class in org.eclipse.ecf.provider.filetransfer.outgoing">AbstractUrlConnectionOutgoingFileTransfer</a></code>, <code><a href="LocalFileOutgoingFileTransfer.html" title="class in org.eclipse.ecf.provider.filetransfer.outgoing">LocalFileOutgoingFileTransfer</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public abstract class <span class="typeNameLabel">AbstractOutgoingFileTransfer</span> |
| extends <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> |
| implements <a href="../../../filetransfer/IOutgoingFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer">IOutgoingFileTransfer</a>, <a href="../../../filetransfer/service/ISendFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer.service">ISendFileTransfer</a></pre> |
| </section> |
| <section class="summary"> |
| <ul class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li class="blockList"> |
| <section class="fieldSummary"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h2>Field Summary</h2> |
| <div class="memberSummary"> |
| <table> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <thead> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#buff_length">buff_length</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bytesSent">bytesSent</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../core/security/IConnectContext.html" title="interface in org.eclipse.ecf.core.security">IConnectContext</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#connectContext">connectContext</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_BUF_LENGTH">DEFAULT_BUF_LENGTH</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#done">done</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#exception">exception</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../filetransfer/IFileTransferInfo.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferInfo</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fileTransferInfo">fileTransferInfo</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.core.runtime.jobs.Job</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#job">job</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferListener</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listener">listener</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#localFileContents">localFileContents</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#options">options</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../core/util/Proxy.html" title="class in org.eclipse.ecf.core.util">Proxy</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#proxy">proxy</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/OutputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">OutputStream</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remoteFileContents">remoteFileContents</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../filetransfer/identity/IFileID.html" title="interface in org.eclipse.ecf.filetransfer.identity">IFileID</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remoteFileID">remoteFileID</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/URL.html?is-external=true" title="class or interface in java.net" class="externalLink">URL</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remoteFileURL">remoteFileURL</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li class="blockList"> |
| <section class="constructorSummary"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h2>Constructor Summary</h2> |
| <div class="memberSummary"> |
| <table> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <thead> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">AbstractOutgoingFileTransfer</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li class="blockList"> |
| <section class="methodSummary"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h2>Method Summary</h2> |
| <div class="memberSummary"> |
| <div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t3" class="tableTab" onclick="show(4);">Abstract Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div> |
| <div id="memberSummary_tabpanel" role="tabpanel"> |
| <table aria-labelledby="t0"> |
| <thead> |
| <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> |
| </thead> |
| <tbody> |
| <tr class="altColor" id="i0"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addListener(org.eclipse.ecf.filetransfer.IIncomingFileTransferRequestListener)">addListener</a></span>​(<a href="../../../filetransfer/IIncomingFileTransferRequestListener.html" title="interface in org.eclipse.ecf.filetransfer">IIncomingFileTransferRequestListener</a> l)</code></th> |
| <td class="colLast"> |
| <div class="block">Add incoming file transfer listener.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cancel()">cancel</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Cancel this file transfer.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createJobName()">createJobName</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fireSendStartEvent()">fireSendStartEvent</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fireTransferSendDataEvent()">fireTransferSendDataEvent</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fireTransferSendDoneEvent()">fireTransferSendDoneEvent</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAdapter(java.lang.Class)">getAdapter</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a> adapter)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytesSent()">getBytesSent</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the number of bytes sent for this outgoing file transfer.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getException()">getException</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get any exception associated with this file transfer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFileLength()">getFileLength</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return resulting file length (in bytes) for this file transfer instance.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i10"> |
| <td class="colFirst"><code>protected <a href="../../../filetransfer/IFileTransferInfo.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferInfo</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFileTransferInfo()">getFileTransferInfo</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code>protected org.eclipse.core.runtime.IStatus</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFinalStatus(java.lang.Throwable)">getFinalStatus</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a> exception1)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i12"> |
| <td class="colFirst"><code><a href="../../../core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getID()">getID</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return the ID for this 'identifiable' object.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i13"> |
| <td class="colFirst"><code><a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferListener</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getListener()">getListener</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOptions()">getOptions</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code><a href="../../../core/identity/Namespace.html" title="class in org.eclipse.ecf.core.identity">Namespace</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOutgoingNamespace()">getOutgoingNamespace</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get namespace for outgoing file transfer.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i16"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPercentComplete()">getPercentComplete</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Get the percent complete for this file transfer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/URL.html?is-external=true" title="class or interface in java.net" class="externalLink">URL</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRemoteFileURL()">getRemoteFileURL</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hardClose()">hardClose</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDone()">isDone</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return true if this file transfer is done, false if not yet completed.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#openStreams()">openStreams</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Open incoming and outgoing streams associated with this file transfer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeListener(org.eclipse.ecf.filetransfer.IIncomingFileTransferRequestListener)">removeListener</a></span>​(<a href="../../../filetransfer/IIncomingFileTransferRequestListener.html" title="interface in org.eclipse.ecf.filetransfer">IIncomingFileTransferRequestListener</a> l)</code></th> |
| <td class="colLast"> |
| <div class="block">Remove incoming file transfer listener</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <td class="colFirst"><code>protected org.eclipse.core.net.proxy.IProxyData</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectProxyFromProxies(java.lang.String,org.eclipse.core.net.proxy.IProxyData%5B%5D)">selectProxyFromProxies</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> protocol, |
| org.eclipse.core.net.proxy.IProxyData[] proxies)</code></th> |
| <td class="colLast"> |
| <div class="block">Select a single proxy from a set of proxies available for the given host.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i23"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,java.io.File,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)">sendOutgoingRequest</a></span>​(<a href="../../../filetransfer/identity/IFileID.html" title="interface in org.eclipse.ecf.filetransfer.identity">IFileID</a> targetReceiver, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink">File</a> localFileToSend, |
| <a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferListener</a> transferListener, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a> ops)</code></th> |
| <td class="colLast"> |
| <div class="block">Send request for outgoing file transfer.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)">sendOutgoingRequest</a></span>​(<a href="../../../filetransfer/identity/IFileID.html" title="interface in org.eclipse.ecf.filetransfer.identity">IFileID</a> targetReceiver, |
| <a href="../../../filetransfer/IFileTransferInfo.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferInfo</a> localFileToSend, |
| <a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferListener</a> transferListener, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a> ops)</code></th> |
| <td class="colLast"> |
| <div class="block">Send request for outgoing file transfer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i25"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setConnectContextForAuthentication(org.eclipse.ecf.core.security.IConnectContext)">setConnectContextForAuthentication</a></span>​(<a href="../../../core/security/IConnectContext.html" title="interface in org.eclipse.ecf.core.security">IConnectContext</a> connectContext)</code></th> |
| <td class="colLast"> |
| <div class="block">Set connect context for authentication upon subsequent |
| <a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)"><code>ISendFileTransferContainerAdapter.sendOutgoingRequest(IFileID, IFileTransferInfo, IFileTransferListener, Map)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInputStream(java.io.InputStream)">setInputStream</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a> ins)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i27"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setOutputStream(java.io.OutputStream)">setOutputStream</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/OutputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">OutputStream</a> outs)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i28"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setProxy(org.eclipse.ecf.core.util.Proxy)">setProxy</a></span>​(<a href="../../../core/util/Proxy.html" title="class in org.eclipse.ecf.core.util">Proxy</a> proxy)</code></th> |
| <td class="colLast"> |
| <div class="block">Set proxy for use upon subsequent |
| <a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)"><code>ISendFileTransferContainerAdapter.sendOutgoingRequest(IFileID, IFileTransferInfo, IFileTransferListener, Map)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i29"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setupAndScheduleJob()">setupAndScheduleJob</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i30"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setupProxies()">setupProxies</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i31"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setupProxy(org.eclipse.ecf.core.util.Proxy)">setupProxy</a></span>​(<a href="../../../core/util/Proxy.html" title="class in org.eclipse.ecf.core.util">Proxy</a> proxy)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li class="blockList"> |
| <section class="fieldDetails"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h2>Field Details</h2> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="DEFAULT_BUF_LENGTH">DEFAULT_BUF_LENGTH</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static final</span> <span class="returnType">int</span> <span class="memberName">DEFAULT_BUF_LENGTH</span></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.eclipse.ecf.provider.filetransfer.outgoing.AbstractOutgoingFileTransfer.DEFAULT_BUF_LENGTH">Constant Field Values</a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="job">job</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">org.eclipse.core.runtime.jobs.Job</span> <span class="memberName">job</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="remoteFileURL">remoteFileURL</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/URL.html?is-external=true" title="class or interface in java.net" class="externalLink">URL</a></span> <span class="memberName">remoteFileURL</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="remoteFileID">remoteFileID</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="../../../filetransfer/identity/IFileID.html" title="interface in org.eclipse.ecf.filetransfer.identity">IFileID</a></span> <span class="memberName">remoteFileID</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="listener">listener</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferListener</a></span> <span class="memberName">listener</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="buff_length">buff_length</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">int</span> <span class="memberName">buff_length</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="done">done</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">boolean</span> <span class="memberName">done</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="bytesSent">bytesSent</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">long</span> <span class="memberName">bytesSent</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="localFileContents">localFileContents</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a></span> <span class="memberName">localFileContents</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="remoteFileContents">remoteFileContents</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/OutputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">OutputStream</a></span> <span class="memberName">remoteFileContents</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="exception">exception</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></span> <span class="memberName">exception</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="fileTransferInfo">fileTransferInfo</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="../../../filetransfer/IFileTransferInfo.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferInfo</a></span> <span class="memberName">fileTransferInfo</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="options">options</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a></span> <span class="memberName">options</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="connectContext">connectContext</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="../../../core/security/IConnectContext.html" title="interface in org.eclipse.ecf.core.security">IConnectContext</a></span> <span class="memberName">connectContext</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="proxy">proxy</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="../../../core/util/Proxy.html" title="class in org.eclipse.ecf.core.util">Proxy</a></span> <span class="memberName">proxy</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li class="blockList"> |
| <section class="constructorDetails"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h2>Constructor Details</h2> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="<init>()">AbstractOutgoingFileTransfer</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">AbstractOutgoingFileTransfer</span>()</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li class="blockList"> |
| <section class="methodDetails"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h2>Method Details</h2> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getRemoteFileURL()">getRemoteFileURL</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/URL.html?is-external=true" title="class or interface in java.net" class="externalLink">URL</a></span> <span class="memberName">getRemoteFileURL</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="setInputStream(java.io.InputStream)">setInputStream</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">void</span> <span class="memberName">setInputStream</span>​(<span class="arguments"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/InputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">InputStream</a> ins)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="setOutputStream(java.io.OutputStream)">setOutputStream</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">void</span> <span class="memberName">setOutputStream</span>​(<span class="arguments"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/OutputStream.html?is-external=true" title="class or interface in java.io" class="externalLink">OutputStream</a> outs)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getFileTransferInfo()">getFileTransferInfo</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="../../../filetransfer/IFileTransferInfo.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferInfo</a></span> <span class="memberName">getFileTransferInfo</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getOptions()">getOptions</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a></span> <span class="memberName">getOptions</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getFinalStatus(java.lang.Throwable)">getFinalStatus</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">org.eclipse.core.runtime.IStatus</span> <span class="memberName">getFinalStatus</span>​(<span class="arguments"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Throwable</a> exception1)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="hardClose()">hardClose</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">void</span> <span class="memberName">hardClose</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getID()">getID</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</a></span> <span class="memberName">getID</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../core/identity/IIdentifiable.html#getID()">IIdentifiable</a></code></span></div> |
| <div class="block">Return the ID for this 'identifiable' object. The returned ID should be |
| unique within its namespace. May return <code>null</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../core/identity/IIdentifiable.html#getID()">getID</a></code> in interface <code><a href="../../../core/identity/IIdentifiable.html" title="interface in org.eclipse.ecf.core.identity">IIdentifiable</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the ID for this identifiable object. May return <code>null</code>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="fireTransferSendDoneEvent()">fireTransferSendDoneEvent</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">void</span> <span class="memberName">fireTransferSendDoneEvent</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="fireTransferSendDataEvent()">fireTransferSendDataEvent</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">void</span> <span class="memberName">fireTransferSendDataEvent</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getBytesSent()">getBytesSent</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">getBytesSent</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/IOutgoingFileTransfer.html#getBytesSent()">IOutgoingFileTransfer</a></code></span></div> |
| <div class="block">Get the number of bytes sent for this outgoing file transfer. Returns 0 |
| if transfer has not be started, and -1 if underlying provider does not |
| support reporting number of bytes sent during transfer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/IOutgoingFileTransfer.html#getBytesSent()">getBytesSent</a></code> in interface <code><a href="../../../filetransfer/IOutgoingFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer">IOutgoingFileTransfer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>number of bytes sent. Returns 0 if the outgoing file transfer has |
| not been started, and -1 if provider does not support reporting |
| of number of bytes received during transfer</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="cancel()">cancel</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">cancel</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/IFileTransfer.html#cancel()">IFileTransfer</a></code></span></div> |
| <div class="block">Cancel this file transfer. If file transfer has already been completed, |
| then this method has no effect. If the file transfer has not been |
| completed then calling this method will result in an |
| <a href="../../../filetransfer/events/IFileTransferEvent.html" title="interface in org.eclipse.ecf.filetransfer.events"><code>IFileTransferEvent</code></a> being delivered to the |
| <a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer"><code>IFileTransferListener</code></a> indicating that transfer is done (<a href="../../../filetransfer/IFileTransfer.html#isDone()"><code>IFileTransfer.isDone()</code></a> |
| returns true), and some exception will be made available</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/IFileTransfer.html#cancel()">cancel</a></code> in interface <code><a href="../../../filetransfer/IFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransfer</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getException()">getException</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></span> <span class="memberName">getException</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/IFileTransfer.html#getException()">IFileTransfer</a></code></span></div> |
| <div class="block">Get any exception associated with this file transfer. The value returned |
| from this method is valid only if <a href="../../../filetransfer/IFileTransfer.html#isDone()"><code>IFileTransfer.isDone()</code></a> method returns true. |
| If the file transfer completed successfully, <a href="../../../filetransfer/IFileTransfer.html#isDone()"><code>IFileTransfer.isDone()</code></a> will |
| return true, and this method will return null. If the file transfer |
| completed unsuccessfully (some exception occurred), then |
| <a href="../../../filetransfer/IFileTransfer.html#isDone()"><code>IFileTransfer.isDone()</code></a> will return true, and this method will return a |
| non-null Exception instance that occurred. |
| <p> |
| If the the file transfer was canceled by the user, then the exception |
| returned will be an instance of <a href="../../../filetransfer/UserCancelledException.html" title="class in org.eclipse.ecf.filetransfer"><code>UserCancelledException</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/IFileTransfer.html#getException()">getException</a></code> in interface <code><a href="../../../filetransfer/IFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransfer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Exception associated with this file transfer. <code>null</code> |
| if transfer completed successfully, non-null if transfer |
| completed with some exception. Only valid <b>after</b> |
| <a href="../../../filetransfer/IFileTransfer.html#isDone()"><code>IFileTransfer.isDone()</code></a> returns true.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getPercentComplete()">getPercentComplete</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">double</span> <span class="memberName">getPercentComplete</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/IFileTransfer.html#getPercentComplete()">IFileTransfer</a></code></span></div> |
| <div class="block">Get the percent complete for this file transfer. The returned value will |
| be either -1.0, meaning that the underlying provider does not support |
| reporting percent complete for this file transfer, or a value between 0 |
| and 1 reflecting the percent complete for this file transfer. If 0.0 no |
| data has been sent, if 1.0, the file transfer is 100 percent complete. |
| |
| The value returned from this method should <b>not</b> be used to |
| determine whether the transfer has completed, as it may not show |
| completion in the event of an transfer failure. Note that the |
| <a href="../../../filetransfer/IFileTransfer.html#isDone()"><code>IFileTransfer.isDone()</code></a> method should be consulted to determine if the file |
| transfer has completed (with or without error).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/IFileTransfer.html#getPercentComplete()">getPercentComplete</a></code> in interface <code><a href="../../../filetransfer/IFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransfer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>double percent complete. Returns -1.0 if the underlying provider |
| does not support reporting percentage complete, or between 0 and |
| 1 to indicate actual percent complete for this file transfer</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getFileLength()">getFileLength</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">getFileLength</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/IFileTransfer.html#getFileLength()">IFileTransfer</a></code></span></div> |
| <div class="block">Return resulting file length (in bytes) for this file transfer instance. If the length is not known, |
| -1 will be returned. Note that if a <a href="../../../filetransfer/IFileRangeSpecification.html" title="interface in org.eclipse.ecf.filetransfer"><code>IFileRangeSpecification</code></a> is provided that the returned |
| file length is the expected file length of just the range retrieved (and not the entire file).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/IFileTransfer.html#getFileLength()">getFileLength</a></code> in interface <code><a href="../../../filetransfer/IFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransfer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>long file length</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isDone()">isDone</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">isDone</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/IFileTransfer.html#isDone()">IFileTransfer</a></code></span></div> |
| <div class="block">Return true if this file transfer is done, false if not yet completed. |
| The file transfer can be completed successfully, or an exception can |
| occur and the file transfer will have failed. In either case of |
| successful or unsuccessful transfer, this method will return true when |
| the file transfer is complete. To determine whether the transfer |
| completed <b>successfully</b>, it is necessary to also consult the |
| <a href="../../../filetransfer/IFileTransfer.html#getException()"><code>IFileTransfer.getException()</code></a> method.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/IFileTransfer.html#isDone()">isDone</a></code> in interface <code><a href="../../../filetransfer/IFileTransfer.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransfer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>boolean true if file transfer is done, false if file transfer is |
| still in progress.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getAdapter(java.lang.Class)">getAdapter</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></span> <span class="memberName">getAdapter</span>​(<span class="arguments"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a> adapter)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>getAdapter</code> in interface <code>org.eclipse.core.runtime.IAdaptable</code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="openStreams()">openStreams</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected abstract</span> <span class="returnType">void</span> <span class="memberName">openStreams</span>() |
| throws <span class="exceptions"><a href="../../../filetransfer/SendFileTransferException.html" title="class in org.eclipse.ecf.filetransfer">SendFileTransferException</a></span></div> |
| <div class="block">Open incoming and outgoing streams associated with this file transfer. |
| Subclasses must implement this method to open input and output streams. |
| The <code>remoteFileContents</code> and <code>localFileContent</code> |
| must be non-<code>null</code> after successful completion of the |
| implementation of this method.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../filetransfer/SendFileTransferException.html" title="class in org.eclipse.ecf.filetransfer">SendFileTransferException</a></code> - if some problem</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getOutgoingNamespace()">getOutgoingNamespace</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../core/identity/Namespace.html" title="class in org.eclipse.ecf.core.identity">Namespace</a></span> <span class="memberName">getOutgoingNamespace</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#getOutgoingNamespace()">ISendFileTransferContainerAdapter</a></code></span></div> |
| <div class="block">Get namespace for outgoing file transfer.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#getOutgoingNamespace()">getOutgoingNamespace</a></code> in interface <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html" title="interface in org.eclipse.ecf.filetransfer">ISendFileTransferContainerAdapter</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Namespace for outgoing IFileID instances. Will not return <code>null</code>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getListener()">getListener</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferListener</a></span> <span class="memberName">getListener</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="createJobName()">createJobName</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span> <span class="memberName">createJobName</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="setupAndScheduleJob()">setupAndScheduleJob</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">void</span> <span class="memberName">setupAndScheduleJob</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="fireSendStartEvent()">fireSendStartEvent</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">void</span> <span class="memberName">fireSendStartEvent</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="setupProxy(org.eclipse.ecf.core.util.Proxy)">setupProxy</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected abstract</span> <span class="returnType">void</span> <span class="memberName">setupProxy</span>​(<span class="arguments"><a href="../../../core/util/Proxy.html" title="class in org.eclipse.ecf.core.util">Proxy</a> proxy)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="setupProxies()">setupProxies</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">void</span> <span class="memberName">setupProxies</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="selectProxyFromProxies(java.lang.String,org.eclipse.core.net.proxy.IProxyData[])">selectProxyFromProxies</a></h3> |
| <div class="memberSignature"><span class="modifiers">protected</span> <span class="returnType">org.eclipse.core.net.proxy.IProxyData</span> <span class="memberName">selectProxyFromProxies</span>​(<span class="arguments"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> protocol, |
| org.eclipse.core.net.proxy.IProxyData[] proxies)</span></div> |
| <div class="block">Select a single proxy from a set of proxies available for the given host. This implementation |
| selects in the following manner: 1) If proxies provided is null or array of 0 length, null |
| is returned. If only one proxy is available (array of length 1) then the entry is returned. |
| If proxies provided is length greater than 1, then if the type of a proxy in the array matches the given |
| protocol (e.g. http, https), then the first matching proxy is returned. If the protocol does |
| not match any of the proxies, then the *first* proxy (i.e. proxies[0]) is returned. Subclasses may |
| override if desired.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>protocol</code> - the target protocol (e.g. http, https, scp, etc). Will not be <code>null</code>.</dd> |
| <dd><code>proxies</code> - the proxies to select from. May be <code>null</code> or array of length 0.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>proxy data selected from the proxies provided.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)">sendOutgoingRequest</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">sendOutgoingRequest</span>​(<span class="arguments"><a href="../../../filetransfer/identity/IFileID.html" title="interface in org.eclipse.ecf.filetransfer.identity">IFileID</a> targetReceiver, |
| <a href="../../../filetransfer/IFileTransferInfo.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferInfo</a> localFileToSend, |
| <a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferListener</a> transferListener, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a> ops)</span> |
| throws <span class="exceptions"><a href="../../../filetransfer/SendFileTransferException.html" title="class in org.eclipse.ecf.filetransfer">SendFileTransferException</a></span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)">ISendFileTransferContainerAdapter</a></code></span></div> |
| <div class="block">Send request for outgoing file transfer. This method is used to initiate |
| a file transfer to a targetReceiver (first parameter) of the |
| localFileToSend (second parameter). File transfer events are |
| asynchronously delivered to the file transferListener (third parameter)</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)">sendOutgoingRequest</a></code> in interface <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html" title="interface in org.eclipse.ecf.filetransfer">ISendFileTransferContainerAdapter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>targetReceiver</code> - the ID of the remote to receive the file transfer request. |
| Must not be should not be <code>null</code>.</dd> |
| <dd><code>localFileToSend</code> - the <a href="../../../filetransfer/IFileTransferInfo.html" title="interface in org.eclipse.ecf.filetransfer"><code>IFileTransferInfo</code></a> for the local file to send. Must |
| not be should not be <code>null</code>.</dd> |
| <dd><code>transferListener</code> - a <a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer"><code>IFileTransferListener</code></a> for responding to file |
| transfer events. Must not be should not be <code>null</code>.. |
| If the target receiver responds then an |
| <a href="../../../filetransfer/events/IOutgoingFileTransferResponseEvent.html" title="interface in org.eclipse.ecf.filetransfer.events"><code>IOutgoingFileTransferResponseEvent</code></a> will be delivered |
| to the listener</dd> |
| <dd><code>ops</code> - a Map of options associated with sendOutgoingRequest. The |
| particular name/value pairs will be unique to the individual |
| providers. May be should not be <code>null</code>..</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../filetransfer/SendFileTransferException.html" title="class in org.eclipse.ecf.filetransfer">SendFileTransferException</a></code> - if the provider is not connected or is not in the correct |
| state for initiating file transfer</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,java.io.File,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)">sendOutgoingRequest</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">sendOutgoingRequest</span>​(<span class="arguments"><a href="../../../filetransfer/identity/IFileID.html" title="interface in org.eclipse.ecf.filetransfer.identity">IFileID</a> targetReceiver, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink">File</a> localFileToSend, |
| <a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer">IFileTransferListener</a> transferListener, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a> ops)</span> |
| throws <span class="exceptions"><a href="../../../filetransfer/SendFileTransferException.html" title="class in org.eclipse.ecf.filetransfer">SendFileTransferException</a></span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,java.io.File,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)">ISendFileTransferContainerAdapter</a></code></span></div> |
| <div class="block">Send request for outgoing file transfer. This method is used to initiate |
| a file transfer to a targetReceiver (first parameter) of the |
| localFileToSend (second parameter). File transfer events are |
| asynchronously delivered to the file transferListener (third parameter)</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,java.io.File,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)">sendOutgoingRequest</a></code> in interface <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html" title="interface in org.eclipse.ecf.filetransfer">ISendFileTransferContainerAdapter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>targetReceiver</code> - the ID of the remote to receive the file transfer request. |
| Must not be <code>null</code>.</dd> |
| <dd><code>localFileToSend</code> - the <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/File.html?is-external=true" title="class or interface in java.io" class="externalLink"><code>File</code></a> for the local file to send. Must not be |
| <code>null</code>.</dd> |
| <dd><code>transferListener</code> - a <a href="../../../filetransfer/IFileTransferListener.html" title="interface in org.eclipse.ecf.filetransfer"><code>IFileTransferListener</code></a> for responding to file |
| transfer events. Must not be <code>null</code>. If the |
| target receiver responds then an IOutgoingFileTransfer will be |
| delivered to the listener</dd> |
| <dd><code>ops</code> - a Map of options associated with sendOutgoingRequest. The |
| particular name/value pairs will be unique to the individual |
| providers. May be <code>null</code>.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../filetransfer/SendFileTransferException.html" title="class in org.eclipse.ecf.filetransfer">SendFileTransferException</a></code> - if the provider is not connected or is not in the correct |
| state for initiating file transfer</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="addListener(org.eclipse.ecf.filetransfer.IIncomingFileTransferRequestListener)">addListener</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">addListener</span>​(<span class="arguments"><a href="../../../filetransfer/IIncomingFileTransferRequestListener.html" title="interface in org.eclipse.ecf.filetransfer">IIncomingFileTransferRequestListener</a> l)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#addListener(org.eclipse.ecf.filetransfer.IIncomingFileTransferRequestListener)">ISendFileTransferContainerAdapter</a></code></span></div> |
| <div class="block">Add incoming file transfer listener. If the underlying provider supports |
| receiving file transfer requests</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#addListener(org.eclipse.ecf.filetransfer.IIncomingFileTransferRequestListener)">addListener</a></code> in interface <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html" title="interface in org.eclipse.ecf.filetransfer">ISendFileTransferContainerAdapter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>l</code> - to receive incoming file transfer request events. Must not be |
| <code>null</code>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="removeListener(org.eclipse.ecf.filetransfer.IIncomingFileTransferRequestListener)">removeListener</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">removeListener</span>​(<span class="arguments"><a href="../../../filetransfer/IIncomingFileTransferRequestListener.html" title="interface in org.eclipse.ecf.filetransfer">IIncomingFileTransferRequestListener</a> l)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#removeListener(org.eclipse.ecf.filetransfer.IIncomingFileTransferRequestListener)">ISendFileTransferContainerAdapter</a></code></span></div> |
| <div class="block">Remove incoming file transfer listener</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#removeListener(org.eclipse.ecf.filetransfer.IIncomingFileTransferRequestListener)">removeListener</a></code> in interface <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html" title="interface in org.eclipse.ecf.filetransfer">ISendFileTransferContainerAdapter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>l</code> - the listener to remove. Must not be <code>null</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if listener actually removed, false otherwise</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="setConnectContextForAuthentication(org.eclipse.ecf.core.security.IConnectContext)">setConnectContextForAuthentication</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">setConnectContextForAuthentication</span>​(<span class="arguments"><a href="../../../core/security/IConnectContext.html" title="interface in org.eclipse.ecf.core.security">IConnectContext</a> connectContext)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#setConnectContextForAuthentication(org.eclipse.ecf.core.security.IConnectContext)">ISendFileTransferContainerAdapter</a></code></span></div> |
| <div class="block">Set connect context for authentication upon subsequent |
| <a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)"><code>ISendFileTransferContainerAdapter.sendOutgoingRequest(IFileID, IFileTransferInfo, IFileTransferListener, Map)</code></a>. This |
| method should be called with a non-null connectContext in order to allow |
| authentication to occur during call to |
| <a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)"><code>ISendFileTransferContainerAdapter.sendOutgoingRequest(IFileID, IFileTransferInfo, IFileTransferListener, Map)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#setConnectContextForAuthentication(org.eclipse.ecf.core.security.IConnectContext)">setConnectContextForAuthentication</a></code> in interface <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html" title="interface in org.eclipse.ecf.filetransfer">ISendFileTransferContainerAdapter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>connectContext</code> - the connect context to use for authenticating during |
| subsequent call to |
| <a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)"><code>ISendFileTransferContainerAdapter.sendOutgoingRequest(IFileID, IFileTransferInfo, IFileTransferListener, Map)</code></a>. |
| If <code>null</code>, then no authentication will be |
| attempted.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="setProxy(org.eclipse.ecf.core.util.Proxy)">setProxy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">setProxy</span>​(<span class="arguments"><a href="../../../core/util/Proxy.html" title="class in org.eclipse.ecf.core.util">Proxy</a> proxy)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#setProxy(org.eclipse.ecf.core.util.Proxy)">ISendFileTransferContainerAdapter</a></code></span></div> |
| <div class="block">Set proxy for use upon subsequent |
| <a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)"><code>ISendFileTransferContainerAdapter.sendOutgoingRequest(IFileID, IFileTransferInfo, IFileTransferListener, Map)</code></a>. This |
| method should be called with a non-null proxy to allow the given proxy to |
| be used in subsequent calls to |
| <a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)"><code>ISendFileTransferContainerAdapter.sendOutgoingRequest(IFileID, IFileTransferInfo, IFileTransferListener, Map)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#setProxy(org.eclipse.ecf.core.util.Proxy)">setProxy</a></code> in interface <code><a href="../../../filetransfer/ISendFileTransferContainerAdapter.html" title="interface in org.eclipse.ecf.filetransfer">ISendFileTransferContainerAdapter</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>proxy</code> - the proxy to use for subsequent calls to |
| <a href="../../../filetransfer/ISendFileTransferContainerAdapter.html#sendOutgoingRequest(org.eclipse.ecf.filetransfer.identity.IFileID,org.eclipse.ecf.filetransfer.IFileTransferInfo,org.eclipse.ecf.filetransfer.IFileTransferListener,java.util.Map)"><code>ISendFileTransferContainerAdapter.sendOutgoingRequest(IFileID, IFileTransferInfo, IFileTransferListener, Map)</code></a>. |
| If <code>null</code>, then no proxy will be used.</dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </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 class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractOutgoingFileTransfer.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <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="subNavList"> |
| <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> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2004–2020 <a href="https://www.eclipse.org/">Eclipse Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |