org.edg.data.reptor.storage
Class GlobusURLCopyCoGImpl

java.lang.Object
  extended byorg.edg.data.reptor.storage.GlobusURLCopyCoGImpl
All Implemented Interfaces:
GlobusURLCopy

public class GlobusURLCopyCoGImpl
extends java.lang.Object
implements GlobusURLCopy

This class contains the cog calls to the globus URL-COPY command.

Version:
$Id $
Author:
Peter Kunszt

Constructor Summary
GlobusURLCopyCoGImpl(Configuration config)
           
 
Method Summary
 void copy()
          Do the copy.
 void setDestinationUri(java.net.URI dest)
          Set the destination URI.
 void setNoDcau(boolean noDcau)
           
 void setNumberOfStreams(int nstreams)
          Set the number of streams - this has no effect in CoG.
 void setSourceUri(java.net.URI source)
          Set the source URI.
 void useThirdPartyCopy()
          Set the third party copy flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobusURLCopyCoGImpl

public GlobusURLCopyCoGImpl(Configuration config)
Method Detail

setSourceUri

public void setSourceUri(java.net.URI source)
Set the source URI.

Specified by:
setSourceUri in interface GlobusURLCopy

setDestinationUri

public void setDestinationUri(java.net.URI dest)
Set the destination URI.

Specified by:
setDestinationUri in interface GlobusURLCopy

useThirdPartyCopy

public void useThirdPartyCopy()
Set the third party copy flag.

Specified by:
useThirdPartyCopy in interface GlobusURLCopy

setNoDcau

public void setNoDcau(boolean noDcau)
Specified by:
setNoDcau in interface GlobusURLCopy

setNumberOfStreams

public void setNumberOfStreams(int nstreams)
Set the number of streams - this has no effect in CoG.

Specified by:
setNumberOfStreams in interface GlobusURLCopy

copy

public void copy()
          throws FileCopierException
Do the copy.

Specified by:
copy in interface GlobusURLCopy
Throws:
FileCopierException