public class OutputStreamASCII extends OutputStreamSerial
| Constructor and Description |
|---|
OutputStreamASCII(SerialPort serial) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
it should have invoked last
|
void |
reset() |
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int offset,
int length) |
void |
write(int b) |
void |
writeRaw(int b) |
log, setListenerList, toByteArraygetFifo, writeShortBE, writeShortLEclosepublic OutputStreamASCII(SerialPort serial)
public void write(byte[] bytes)
throws IOException
write in class LoggingOutputStreamIOExceptionpublic void write(byte[] bytes,
int offset,
int length)
throws IOException
write in class LoggingOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class LoggingOutputStreamIOExceptionpublic void writeRaw(int b)
throws IOException
IOExceptionpublic void flush()
throws IOException
ModbusOutputStreamflush in interface Flushableflush in class LoggingOutputStreamIOExceptionpublic void reset()
Copyright © 2018. All rights reserved.