public class RootProtocol extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
defaultPort |
| Constructor and Description |
|---|
RootProtocol(String host,
int port,
String auth,
String username,
String password)
Creates a new instance of RootProtocol
|
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final int defaultPort
public RootProtocol(String host, int port, String auth, String username, String password) throws IOException
IOExceptionpublic int getBufferSize()
public void setBufferSize(int bufferSize)
public String[] fstat() throws IOException
IOExceptionpublic void open(String file) throws IOException
IOExceptionpublic DaemonInputStream openStream(long size)
public String[] ls(String dir) throws IOException
IOExceptionpublic String pwd() throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionJas4pp 1.5 © Java Analysis Studio for Particle Physics