Code example for Socket

Methods: isClosedisOutputShutdownshutdownOutput

0
    /* 
     * @see org.eclipse.jetty.io.bio.StreamEndPoint#shutdownOutput() 
     */ 
    public void shutdownOutput() throws IOException 
    {     
        if (!_socket.isClosed() && !_socket.isOutputShutdown())
            _socket.shutdownOutput();
    } 
     
    /* ------------------------------------------------------------ */ 
    /* (non-Javadoc) 
     * @see org.eclipse.io.BufferIO#close() 
     */ 
    public void close() throws IOException 
    { 
        _socket.close();
        _in=null; 
        _out=null; 
    } 
     
Experience pair programming with AI  Get Codota for Java