org.ros.android.android_acm_serial
Class AcmOutputStream
java.lang.Object
java.io.OutputStream
org.ros.android.android_acm_serial.AcmOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class AcmOutputStream
- extends java.io.OutputStream
Constructor Summary |
AcmOutputStream(org.ros.android.android_acm_serial.UsbRequestPool usbRequestPool,
UsbEndpoint endpoint)
|
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(byte[] buffer,
int offset,
int count)
|
void |
write(int oneByte)
|
Methods inherited from class java.io.OutputStream |
write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AcmOutputStream
public AcmOutputStream(org.ros.android.android_acm_serial.UsbRequestPool usbRequestPool,
UsbEndpoint endpoint)
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.OutputStream
- Throws:
java.io.IOException
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(byte[] buffer,
int offset,
int count)
- Overrides:
write
in class java.io.OutputStream
write
public void write(int oneByte)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException