hep.io.root.daemon.xrootd
Class XrootdStreamHandler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by hep.io.root.daemon.RootStreamHandler
          extended by hep.io.root.daemon.xrootd.XrootdStreamHandler

public class XrootdStreamHandler
extends RootStreamHandler

A stream handler for files opened with the scalla protocol. This stream handler will be created automatically if RootURLStreamFactory is used, or this can be created and passed as an argument to the URL constructor.

Author:
Tony Johnson

Constructor Summary
XrootdStreamHandler()
           
XrootdStreamHandler(XrootdInputStreamFactory factory)
           
 
Method Summary
protected  URLConnection openConnection(URL uRL)
           
 
Methods inherited from class hep.io.root.daemon.RootStreamHandler
getDefaultPort
 
Methods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XrootdStreamHandler

public XrootdStreamHandler()

XrootdStreamHandler

public XrootdStreamHandler(XrootdInputStreamFactory factory)
Method Detail

openConnection

protected URLConnection openConnection(URL uRL)
                                throws IOException
Overrides:
openConnection in class RootStreamHandler
Throws:
IOException


Copyright © 2000-2013 FreeHEP. All Rights Reserved.