org.edg.data.reptor.storage
Class StorageResourceGridFTPImpl
java.lang.Object
|
+--org.edg.data.reptor.storage.StorageResourceGridFTPImpl
- All Implemented Interfaces:
- StorageResource
- public class StorageResourceGridFTPImpl
- extends java.lang.Object
- implements StorageResource
Dummy gridftp implementation of a storage resource. Knows only how to get the
rudimentary fileinfo.
- Version:
- $Id: StorageResourceGridFTPImpl.java,v 1.20 2003/09/15 02:03:14 pkunszt Exp $
- Author:
- Peter Kunszt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageResourceGridFTPImpl
public StorageResourceGridFTPImpl(Configuration config,
java.lang.String seHost)
getFileInfo
public FileInfo getFileInfo(java.net.URI file)
throws InfoServiceException,
java.io.FileNotFoundException
- Specified by:
getFileInfo
in interface StorageResource
InfoServiceException
java.io.FileNotFoundException
prepareToGet
public RequestStatus prepareToGet(java.net.URI surl,
int prot)
throws InfoServiceException
- Specified by:
prepareToGet
in interface StorageResource
InfoServiceException
prepareToPut
public RequestStatus prepareToPut(java.net.URI surl,
long size,
int protocol)
- Specified by:
prepareToPut
in interface StorageResource
putDone
public void putDone(java.lang.String requestID)
- Specified by:
putDone
in interface StorageResource
getRequestStatus
public RequestStatus getRequestStatus(java.lang.String requestID)
- Specified by:
getRequestStatus
in interface StorageResource
getSE
public org.edg.storage.EdgSeWebservice getSE()
throws NotSEException
- Specified by:
getSE
in interface StorageResource
NotSEException
getSRM
public org.cern.castor.ISRM getSRM()
throws NotCastorSRMException
- Specified by:
getSRM
in interface StorageResource
NotCastorSRMException
generateSURL
public java.net.URI generateSURL()
throws InfoServiceException
- Specified by:
generateSURL
in interface StorageResource
InfoServiceException
getAccessCost
public long getAccessCost(java.net.URI surl)
throws StorageResourceException
- Specified by:
getAccessCost
in interface StorageResource
StorageResourceException