mil.dod.th.ose.time.service/src/mil/dod/th/ose/time/service/TimeChangeServiceThread.java
private InputStream makeConnection() throws IOException
    {
        InputStream clientInputStream = null;
        try (Socket clientSocket = getClientSocket())
        {
            if (clientSocket != null)
            {
                clientInputStream = getClientSocketInputStream(clientSocket);
            }
        }
        catch (final IOException exception)
        {
            TimeChangeServiceLogger.logMessage(Level.SEVERE, 
                    "An error occurred while listening for the client connection. "
                            + "Connection might have timed out.", exception);
        }
        return clientInputStream;
    }
/**
     * Function to retrieve a client connection.
     * @return
     *  the input stream that connected or null if 
     *  there was an error trying to connect.
     * @throws IOException
     *  if there is an exception while trying to connect to the 
     *  input stream.
     */
Function to retrieve a client connection.
@return
the input stream that connected or null if
there was an error trying to connect.
@throws IOException
if there is an exception while trying to connect to the
input stream.
Function to retrieve a client connection . @return the input stream that connected or null if there was an error trying to connect . @throws IOException if there is an exception while trying to connect to the input stream .
private InputStream makeConnection() throws IOException
    {
        InputStream clientInputStream = null;
        try (Socket clientSocket = getClientSocket())
        {
            if (clientSocket != null)
            {
                clientInputStream = getClientSocketInputStream(clientSocket);
            }
        }
        catch (final IOException exception)
        {
            TimeChangeServiceLogger.logMessage(Level.SEVERE, 
                    "An error occurred while listening for the client connection. "
                            + "Connection might have timed out.", exception);
        }
        return clientInputStream;
    }
private InputStream makeConnection ( ) throws IOException { InputStream clientInputStream = null ; try ( Socket clientSocket = getClientSocket ( ) ) { if ( clientSocket != null ) { clientInputStream = getClientSocketInputStream ( clientSocket ) ; } } catch ( final IOException exception ) { TimeChangeServiceLogger . logMessage ( Level . SEVERE , "An error occurred while listening for the client connection. " + "Connection might have timed out." , exception ) ; } return clientInputStream ; }
Function to retrieve a client connection.
Function to retrieve a client connection .