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
IOException
public int getBufferSize()
public void setBufferSize(int bufferSize)
public String[] fstat() throws IOException
IOException
public void open(String file) throws IOException
IOException
public DaemonInputStream openStream(long size)
public String[] ls(String dir) throws IOException
IOException
public String pwd() throws IOException
IOException
public static void main(String[] args) throws IOException
IOException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics