org.edg.data.reptor.storage
Class StorageResourceSEImpl
java.lang.Object
|
+--org.edg.data.reptor.storage.StorageResourceSEImpl
- All Implemented Interfaces:
- StorageResource
- public class StorageResourceSEImpl
- extends java.lang.Object
- implements StorageResource
SE implementation of the storage resource.
- Version:
- $Id: StorageResourceSEImpl.java,v 1.23 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 |
StorageResourceSEImpl
public StorageResourceSEImpl(Configuration config,
java.net.URL endpoint)
throws org.edg.data.util.ConnectionException
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 StorageResourceException,
InfoServiceException
- Specified by:
prepareToGet
in interface StorageResource
StorageResourceException
InfoServiceException
prepareToPut
public RequestStatus prepareToPut(java.net.URI surl,
long size,
int prot)
throws StorageResourceException
- Specified by:
prepareToPut
in interface StorageResource
StorageResourceException
putDone
public void putDone(java.lang.String requestID)
throws StorageResourceException
- Specified by:
putDone
in interface StorageResource
StorageResourceException
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