ioio.lib.impl
Class FlowControlledOutputStream
java.lang.Object
java.io.OutputStream
ioio.lib.impl.FlowControlledOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class FlowControlledOutputStream
- extends java.io.OutputStream
| Methods inherited from class java.io.OutputStream |
write, write |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlowControlledOutputStream
public FlowControlledOutputStream(ioio.lib.impl.FlowControlledOutputStream.Sender sender,
int maxPacket)
flush
public void flush()
throws java.io.IOException
- Specified by:
flush in interface java.io.Flushable- Overrides:
flush in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(int oneByte)
throws java.io.IOException
- Specified by:
write in class java.io.OutputStream
- Throws:
java.io.IOException
readyToSend
public void readyToSend(int numBytes)
close
public void close()
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.OutputStream
kill
public void kill()