Class LocalFileOutgoingFileTransfer
- java.lang.Object
- 
- org.eclipse.ecf.provider.filetransfer.outgoing.AbstractOutgoingFileTransfer
- 
- org.eclipse.ecf.provider.filetransfer.outgoing.LocalFileOutgoingFileTransfer
 
 
- 
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable,- IIdentifiable,- IFileTransfer,- IOutgoingFileTransfer,- ISendFileTransferContainerAdapter,- ISendFileTransfer
 
 public class LocalFileOutgoingFileTransfer extends AbstractOutgoingFileTransfer 
- 
- 
Field Summary- 
Fields inherited from class org.eclipse.ecf.provider.filetransfer.outgoing.AbstractOutgoingFileTransferbuff_length, bytesSent, connectContext, DEFAULT_BUF_LENGTH, done, exception, fileTransferInfo, job, listener, localFileContents, options, proxy, remoteFileContents, remoteFileID, remoteFileURL
 
- 
 - 
Constructor SummaryConstructors Constructor Description LocalFileOutgoingFileTransfer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidopenStreams()Open incoming and outgoing streams associated with this file transfer.protected voidsetupProxy(Proxy proxy)- 
Methods inherited from class org.eclipse.ecf.provider.filetransfer.outgoing.AbstractOutgoingFileTransferaddListener, cancel, createJobName, fireSendStartEvent, fireTransferSendDataEvent, fireTransferSendDoneEvent, getAdapter, getBytesSent, getException, getFileLength, getFileTransferInfo, getFinalStatus, getID, getListener, getOptions, getOutgoingNamespace, getPercentComplete, getRemoteFileURL, hardClose, isDone, removeListener, selectProxyFromProxies, sendOutgoingRequest, sendOutgoingRequest, setConnectContextForAuthentication, setInputStream, setOutputStream, setProxy, setupAndScheduleJob, setupProxies
 
- 
 
- 
- 
- 
Method Detail- 
openStreamsprotected void openStreams() throws SendFileTransferExceptionDescription copied from class:AbstractOutgoingFileTransferOpen incoming and outgoing streams associated with this file transfer. Subclasses must implement this method to open input and output streams. TheremoteFileContentsandlocalFileContentmust be non-nullafter successful completion of the implementation of this method.- Specified by:
- openStreamsin class- AbstractOutgoingFileTransfer
- Throws:
- SendFileTransferException- if some problem
 
 - 
setupProxyprotected void setupProxy(Proxy proxy) - Specified by:
- setupProxyin class- AbstractOutgoingFileTransfer
 
 
- 
 
-