Changeset 2192
- Timestamp:
- 08/21/2008 10:27:02 AM (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dCacheNebraska/dcache-httpDoor.spec
r2190 r2192 1 1 %define name dcache-httpDoor 2 2 %define version 0.2.1 3 %define release 13 %define release 3 4 4 5 5 Summary: HTTP door for dCache dCacheNebraska/java_src/diskCacheV111/movers/HttpProtocol_1.java
r2109 r2192 29 29 import diskCacheV111.repository.SpaceMonitor; 30 30 import diskCacheV111.util.PnfsId; 31 import diskCacheV111.util.CacheException; 31 32 import diskCacheV111.vehicles.ProtocolInfo; 32 33 import diskCacheV111.vehicles.StorageInfo; … … 139 140 StorageInfo storage, PnfsId pnfsId, SpaceMonitor spaceMonitor, 140 141 int access) throws Exception { 141 // TODO Auto-generated method stub 142 HttpProtocolInfo hpi = (HttpProtocolInfo)protocol; 142 HttpProtocolInfo hpi = null; 143 try { 144 hpi = (HttpProtocolInfo)protocol; 145 } catch (ClassCastException cce) { 146 log.error(cce); 147 log.error(protocol.toString()); 148 log.error(protocol.getClass().getCanonicalName()); 149 throw new CacheException(44, "protocol info not HttpProtocolInfo."); 150 } 143 151 token = hpi.getToken(); 144 152 //CacheRepository repos = (CacheRepository) spaceMonitor; dCacheNebraska/java_src/edu/unl/dCache/vehicles/HttpProtocolInfo.java
r1435 r2192 50 50 51 51 public String getVersionString() { 52 return _ major + "." + _minor;52 return _protocol + "-" + _major + "." + _minor; 53 53 } 54 54
