Class OtpServerSocketTransport

    • Constructor Detail

      • OtpServerSocketTransport

        public OtpServerSocketTransport​(int port)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
        See Also:
        ServerSocket(int)
    • Method Detail

      • accept

        public OtpTransport accept()
                            throws java.io.IOException
        Specified by:
        accept in interface OtpServerTransport
        Throws:
        java.io.IOException
        See Also:
        ServerSocket.accept()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface OtpServerTransport
        Throws:
        java.io.IOException
        See Also:
        ServerSocket.close()