FreeHEP API
Version current

hep.io.root.daemon
Class RootProtocol

java.lang.Object
  extended byhep.io.root.daemon.RootProtocol

public class RootProtocol
extends Object

Author:
Tony Johnson
Source Code:
RootProtocol.java

Field Summary
static int defaultPort
           
 
Constructor Summary
RootProtocol(String host, int port, String auth, String username, String password)
          Creates a new instance of RootProtocol
 
Method Summary
 String[] fstat()
           
 int getBufferSize()
           
 String[] ls(String dir)
           
static void main(String[] args)
           
 void open(String file)
           
 DaemonInputStream openStream(long size)
           
 String pwd()
           
 void setBufferSize(int bufferSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultPort

public static final int defaultPort
See Also:
Constant Field Values
Constructor Detail

RootProtocol

public RootProtocol(String host,
                    int port,
                    String auth,
                    String username,
                    String password)
             throws IOException
Creates a new instance of RootProtocol

Method Detail

getBufferSize

public int getBufferSize()

setBufferSize

public void setBufferSize(int bufferSize)

fstat

public String[] fstat()
               throws IOException
Throws:
IOException

open

public void open(String file)
          throws IOException
Throws:
IOException

openStream

public DaemonInputStream openStream(long size)

ls

public String[] ls(String dir)
            throws IOException
Throws:
IOException

pwd

public String pwd()
           throws IOException
Throws:
IOException

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.