ncsa.tools.trebuchet.core.clients
Class CopyClient
java.lang.Object
ncsa.tools.trebuchet.core.clients.CopyClient
- All Implemented Interfaces:
- IClient, IConfigurable, IRunnableClient, java.lang.Runnable, Stoppable
- Direct Known Subclasses:
- FileCopyClient, GridftpCopyClient, HTTPGetClient, SSHCopyClient, WebdavCopyClient
- public abstract class CopyClient
- extends java.lang.Object
- implements IRunnableClient
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyClient
public CopyClient()
initialize
public void initialize(TrebuchetConfiguration configuration)
throws InitializationException
- Specified by:
initialize in interface IConfigurable
- Throws:
InitializationException
run
public void run()
- Specified by:
run in interface java.lang.Runnable
halt
public void halt()
- Description copied from interface:
Stoppable
- User-defined method for allowing the run() method (or some other
continuous looping process) to exit peacefully.
- Specified by:
halt in interface Stoppable
close
public void close()
- Specified by:
close in interface IClient
setEntry
public void setEntry(CopyEntry entry)
setCallback
public void setCallback(IOperationMonitor callback)
- Specified by:
setCallback in interface IRunnableClient
setSourceConnection
public void setSourceConnection(java.net.URI sourceConnection)
setTargetConnection
public void setTargetConnection(java.net.URI targetConnection)