All Packages Class Hierarchy This Package Previous Next Index
Class iceberg.APCpath.operators.SockReadOp
java.lang.Object
|
+----ninja.rmi.NinjaRemoteObject
|
+----iceberg.APCpath.operators.Operator
|
+----iceberg.APCpath.operators.SockReadOp
- public class SockReadOp
- extends Operator
-
blockSize
-
-
bufferlen
-
-
in
-
-
IN
-
-
myname
-
-
OUT
-
-
out
-
-
proc
-
-
procinput
-
-
procoutput
-
-
procstdout
-
-
SockReadOp()
-
-
SockReadOp(String, String, String)
-
-
connect(int, int, int, String, int, int)
- This call is necessary for the persistent SockReadOp.
-
disconnect(int)
- This call is necessary for the persistent SockReadOp.
-
exec()
- Start any executable - gives a better measure of the end2end
perf at the client
-
getCmd()
-
-
getInputType()
- Should return the input type of the operator
-
getOutputType()
- Should return the output type of the operator
-
ipBlockSize()
-
-
opBlockSize()
-
IN
public static final String IN
OUT
public static final String OUT
myname
public String myname
bufferlen
protected static final int bufferlen
procinput
protected InputStream procinput
procstdout
protected BufferedReader procstdout
procoutput
protected OutputStream procoutput
in
protected String in
out
protected String out
proc
protected Process proc
blockSize
protected static final int blockSize
SockReadOp
public SockReadOp(String myname,
String in,
String out) throws RemoteException
SockReadOp
public SockReadOp() throws RemoteException
getInputType
public String getInputType() throws RemoteException
- Should return the input type of the operator
- Overrides:
- getInputType in class Operator
getOutputType
public String getOutputType() throws RemoteException
- Should return the output type of the operator
- Overrides:
- getOutputType in class Operator
opBlockSize
public int opBlockSize() throws RemoteException
- Overrides:
- opBlockSize in class Operator
ipBlockSize
public int ipBlockSize() throws RemoteException
- Overrides:
- ipBlockSize in class Operator
getCmd
protected String[] getCmd()
exec
public void exec()
- Start any executable - gives a better measure of the end2end
perf at the client
- Overrides:
- exec in class Operator
connect
public synchronized int connect(int pathid,
int srcPort,
int srcConnType,
String ipAddr,
int dstPort,
int dstConnType) throws RemoteException
- This call is necessary for the persistent SockReadOp. It
connects an incoming stream to an outgoing stream.
- Overrides:
- connect in class Operator
disconnect
public synchronized void disconnect(int pathid) throws RemoteException
- This call is necessary for the persistent SockReadOp.
Disconnects a connection made earlier for 'pathid'
- Overrides:
- disconnect in class Operator
All Packages Class Hierarchy This Package Previous Next Index