public class RXTXCommPortAdapter extends AbstractCommPortAdapter
| Constructor and Description |
|---|
RXTXCommPortAdapter(gnu.io.CommPort commPort)
This is the class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeImpl()
Closes the connection.
|
InputStream |
getInputStream()
This function returns the input stream to the COMM port.
|
OutputStream |
getOutputStream()
This function returns the output stream to the COMM port.
|
boolean |
isOpen()
Returns true if the adapter is valid and open.
|
closepublic RXTXCommPortAdapter(gnu.io.CommPort commPort)
commPort - The COMM portpublic boolean isOpen()
public InputStream getInputStream()
public OutputStream getOutputStream()
protected void closeImpl()
closeImpl in class AbstractCloseableCopyright © 2009–2020 fax4j. All rights reserved.