public class SerialTransmitter
extends java.lang.Object
Constructor and Description |
---|
SerialTransmitter(org.openmuc.jrxtx.SerialPort serialPort) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
closeStream()
Deprecated.
use
close() instead |
void |
write(byte[] message) |
public SerialTransmitter(org.openmuc.jrxtx.SerialPort serialPort) throws java.io.IOException
java.io.IOException
public void write(byte[] message) throws java.io.IOException
java.io.IOException
@Deprecated public void closeStream() throws java.io.IOException
close()
insteadjava.io.IOException
- if an I/O error occurs.public void close() throws java.io.IOException
java.io.IOException