Class TCPJDBCServerConnection

    • Field Detail

      • connection

        private java.net.Socket connection
        The socket connection with the client.
      • is_closed

        private boolean is_closed
        Is set to true when the connection to the client is closed.
    • Constructor Detail

      • TCPJDBCServerConnection

        TCPJDBCServerConnection​(DatabaseInterface db_interface,
                                java.net.Socket socket,
                                DebugLogger logger)
                         throws java.io.IOException
        Constructs the ServerConnection object.
        Throws:
        java.io.IOException
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Completely closes the connection to the client.
        Specified by:
        close in interface ServerConnection
        Specified by:
        close in class JDBCProcessor
        Throws:
        java.io.IOException
      • isClosed

        public boolean isClosed()
                         throws java.io.IOException
        Returns true if the connection to the client has been closed.
        Specified by:
        isClosed in class JDBCProcessor
        Throws:
        java.io.IOException