Class SerialPortServer

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class SerialPortServer
    extends StreamConnectionNotifier
    • Constructor Summary

      Constructors 
      Constructor Description
      SerialPortServer​(java.lang.String uuid, java.lang.String[] params)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SerialPortServer

        public SerialPortServer​(java.lang.String uuid,
                                java.lang.String[] params)
                         throws IOException
        Throws:
        IOException
    • Method Detail

      • close

        public void close()
                   throws IOException
        Closes this I/O connection, releasing any associated resources. Once closed a connection is no longer valid.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        IOException - If an I/O error occurs.
      • finalize

        protected void finalize()
        Overrides:
        finalize in class java.lang.Object