public interface ISerialPort
Modifier and Type | Method and Description |
---|---|
void |
addEventListener(SerialPortEventListener listener,
int mask) |
void |
closePort() |
void |
openPort() |
java.lang.String |
readString(int n) |
void |
setParams(int baudrate,
int databit,
int stopbits,
int parity) |
void |
writeString(java.lang.String s) |
java.lang.String readString(int n) throws SerialPortException
SerialPortException
void closePort() throws SerialPortException
SerialPortException
void openPort() throws SerialPortException
SerialPortException
void setParams(int baudrate, int databit, int stopbits, int parity) throws SerialPortException
SerialPortException
void writeString(java.lang.String s) throws SerialPortException
SerialPortException
void addEventListener(SerialPortEventListener listener, int mask) throws SerialPortException
SerialPortException