ncsa.tools.trebuchet.core.clients
Class CopyClient

java.lang.Object
  extended byncsa.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


Constructor Summary
CopyClient()
           
 
Method Summary
 void close()
           
 void halt()
          User-defined method for allowing the run() method (or some other continuous looping process) to exit peacefully.
 void initialize(TrebuchetConfiguration configuration)
           
 void run()
           
 void setCallback(IOperationMonitor callback)
           
 void setEntry(CopyEntry entry)
           
 void setSourceConnection(java.net.URI sourceConnection)
           
 void setTargetConnection(java.net.URI targetConnection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyClient

public CopyClient()
Method Detail

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)