kaos.robots.breve
Class BreveProxy
java.lang.Object
kaos.robots.breve.BreveProxy
public class BreveProxy
- extends java.lang.Object
Constructor Summary |
BreveProxy(int port,
boolean isServer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BreveProxy
public BreveProxy(int port,
boolean isServer)
throws java.io.IOException
- Throws:
java.io.IOException
serveBreveProcess
public static BreveProxy serveBreveProcess(int port)
throws java.io.IOException
- Throws:
java.io.IOException
connectToBreveProcess
public static BreveProxy connectToBreveProcess(int port)
throws java.io.IOException
- Throws:
java.io.IOException
setAutoflush
public void setAutoflush(boolean autoflush)
doesAutoflush
public boolean doesAutoflush()
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
getDouble
public double getDouble()
throws java.io.IOException
- Throws:
java.io.IOException
getVector
public double[] getVector()
throws java.io.IOException
- Throws:
java.io.IOException
getArray
public double[] getArray(int length)
throws java.io.IOException
- Throws:
java.io.IOException
getMatrix
public double[][] getMatrix()
throws java.io.IOException
- Throws:
java.io.IOException
getMatrix
public double[][] getMatrix(int rows,
int columns)
throws java.io.IOException
- Throws:
java.io.IOException
putDoubleWithNoFlush
public void putDoubleWithNoFlush(double d)
throws java.io.IOException
- Throws:
java.io.IOException
putDouble
public void putDouble(double d)
throws java.io.IOException
- Throws:
java.io.IOException
putVector
public void putVector(double x,
double y,
double z)
throws java.io.IOException
- Throws:
java.io.IOException
putVector
public void putVector(double[] a)
throws java.io.IOException
- Throws:
java.io.IOException
putArray
public void putArray(double[] a)
throws java.io.IOException
- Throws:
java.io.IOException
putMatrix
public void putMatrix(double[][] m)
throws java.io.IOException
- Throws:
java.io.IOException