public class LoggingOutputStream extends ModbusOutputStream
| Constructor and Description |
|---|
LoggingOutputStream(ModbusOutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
it should have invoked last
|
void |
log() |
void |
setListenerList(FrameEventListenerList listenerList) |
byte[] |
toByteArray() |
void |
write(byte[] b) |
void |
write(byte[] b,
int offset,
int length) |
void |
write(int b) |
getFifo, writeShortBE, writeShortLEclosepublic LoggingOutputStream(ModbusOutputStream out)
public void write(byte[] b)
throws IOException
write in class ModbusOutputStreamIOExceptionpublic void write(byte[] b,
int offset,
int length)
throws IOException
write in class ModbusOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class ModbusOutputStreamIOExceptionpublic void flush()
throws IOException
ModbusOutputStreamflush in interface Flushableflush in class ModbusOutputStreamIOExceptionpublic void log()
public byte[] toByteArray()
toByteArray in class ModbusOutputStreampublic void setListenerList(FrameEventListenerList listenerList)
Copyright © 2018. All rights reserved.