org.eclipse.tptp.platform.execution.client.core.internal
Class FileTransferManagerImpl
java.lang.Object
org.eclipse.tptp.platform.execution.client.agent.internal.AgentImpl
org.eclipse.tptp.platform.execution.client.core.internal.FileTransferManagerImpl
- All Implemented Interfaces:
- org.eclipse.tptp.platform.execution.client.agent.IAgent, org.eclipse.tptp.platform.execution.client.core.IFileTransferManager, IConnectionListener, IProcessListener
public class FileTransferManagerImpl
- extends AgentImpl
- implements org.eclipse.tptp.platform.execution.client.core.IFileTransferManager
| Fields inherited from class org.eclipse.tptp.platform.execution.client.agent.internal.AgentImpl |
_agentState, _autoAttach, _dataProcessor, _isActive, _listeners, _name, _process, _profileFile, _type, _uuid, _version, agentMetadata, agentMode |
| Fields inherited from interface org.eclipse.tptp.platform.execution.client.core.IFileTransferManager |
FILE_CREATE_ERROR, FILE_NOT_FOUND, FILE_READ_ERROR, FILE_TRANSFER_ERROR, FILE_TRANSFER_OK |
| Methods inherited from class org.eclipse.tptp.platform.execution.client.agent.internal.AgentImpl |
addAgentListener, addDataListener, addEventListener, attach, connectionClosed, detach, getAgentController, getAgentInstanceId, getAgentListener, getAgentMetaData, getAgentMode, getAgentTokenId, getName, getProcess, getSupportedInterfaces, getType, getUUID, getVersion, handleAgentCommand, isActive, isAttached, isAttached, isAutoAttach, isMonitored, processExited, processLaunched, receiveData, releaseAccess, releaseControl, removeAgentListener, removeEventListener, requestAccess, requestControl, sendCommand, sendCommand, sendData, sendData, sendDataWithoutDime, setAgentController, setAgentInstanceId, setAgentMode, setAgentTokenId, setName, setProcess, setType, setUUID, setVersion, startMonitoring, startMonitoring, startMonitoring, stopMonitoring, stopMonitoring |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileTransferManagerImpl
public FileTransferManagerImpl(java.lang.String agentName)
createFileDataConnection
public void createFileDataConnection()
getFile
public int getFile(java.lang.String localName,
java.lang.String remoteName)
throws java.io.IOException
- Specified by:
getFile in interface org.eclipse.tptp.platform.execution.client.core.IFileTransferManager
- Throws:
java.io.IOException
deleteFile
public void deleteFile(java.lang.String absFileName)
throws java.io.IOException
- Specified by:
deleteFile in interface org.eclipse.tptp.platform.execution.client.core.IFileTransferManager
- Throws:
java.io.IOException
putFile
public int putFile(java.lang.String localName,
java.lang.String remoteName)
throws java.io.IOException
- Specified by:
putFile in interface org.eclipse.tptp.platform.execution.client.core.IFileTransferManager
- Throws:
java.io.IOException