Package org.yamcs.filetransfer
Class AbstractFileTransferService
java.lang.Object
com.google.common.util.concurrent.AbstractService
org.yamcs.AbstractYamcsService
org.yamcs.filetransfer.AbstractFileTransferService
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
,FileActionProvider
,FileListingService
,FileTransferService
,YamcsService
- Direct Known Subclasses:
CfdpService
public abstract class AbstractFileTransferService
extends AbstractYamcsService
implements FileTransferService, FileActionProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service
com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
-
Field Summary
Fields inherited from class org.yamcs.AbstractYamcsService
config, log, serviceName, yamcsInstance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
protected void
addFileAction
(FileAction action) final FileTransferCapabilities
Get the capabilities supported by this service.getFileAction
(String actionId) Methods inherited from class org.yamcs.AbstractYamcsService
getConfig, getYamcsInstance, init
Methods inherited from class com.google.common.util.concurrent.AbstractService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, doStart, doStop, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.yamcs.filetransfer.FileListingService
fetchFileList, getFileList, getRemoteFileListMonitors, notifyRemoteFileListMonitors, registerRemoteFileListMonitor, saveFileList, unregisterRemoteFileListMonitor
Methods inherited from interface org.yamcs.filetransfer.FileTransferService
cancel, getFileTransfer, getFileTransferOptions, getLocalEntities, getRemoteEntities, getTransfers, init, pause, registerTransferMonitor, resume, startDownload, startUpload, unregisterTransferMonitor
Methods inherited from interface com.google.common.util.concurrent.Service
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
Methods inherited from interface org.yamcs.YamcsService
getSpec, getYamcsInstance
-
Constructor Details
-
AbstractFileTransferService
public AbstractFileTransferService()
-
-
Method Details
-
addFileAction
-
getFileActions
- Specified by:
getFileActions
in interfaceFileActionProvider
-
getFileAction
- Specified by:
getFileAction
in interfaceFileActionProvider
-
getCapabilities
Description copied from interface:FileTransferService
Get the capabilities supported by this service.The capabilities are used by the yamcs-web to enable/disable some options.
- Specified by:
getCapabilities
in interfaceFileTransferService
- Returns:
-
addCapabilities
-