Code example for SessionOutputBuffer

Methods: getMetrics

     * Force-closes this connection. 
     * If the connection is still in the process of being open (the method  
     * {@link #opening opening} was already called but  
     * {@link #openCompleted openCompleted} was not), the associated  
     * socket that is being connected to a remote address will be closed.  
     * That will interrupt a thread that is blocked on connecting  
     * the socket. 
     * If the connection is not yet open, this will prevent the connection 
     * from being opened. 
     * @throws IOException      in case of a problem 
    public void shutdown() throws IOException { 
        log.debug("Connection shut down");
        shutdown = true;