public class SerialPortServer extends StreamConnectionNotifier
Constructor and Description |
---|
SerialPortServer(java.lang.String uuid,
java.lang.String[] params) |
Modifier and Type | Method and Description |
---|---|
Stream |
accept()
Returns a Stream that represents a server side connection.
|
void |
close()
Closes this I/O connection, releasing any associated resources.
|
protected void |
finalize() |
public SerialPortServer(java.lang.String uuid, java.lang.String[] params) throws IOException
IOException
public Stream accept() throws IOException
StreamConnectionNotifier
accept
in class StreamConnectionNotifier
IOException
- If an I/O error occurs.public void close() throws IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
IOException
- If an I/O error occurs.protected void finalize()
finalize
in class java.lang.Object