protected void closeConnection()
        {
            if( closed ) 
                return;
            closed = true;
            
            // Make sure all endpoints are closed.  Note: reliable
            // should always already be closed through all paths that I
            // can conceive... but it doesn't hurt to be sure. 
            for( Endpoint p : channels ) {
                if( p == null || !p.isConnected() ) 
                    continue;
                p.close();
            }
        
            fireConnectionRemoved( this );
        }
A default implementation of the Server interface that delegates
 its network connectivity to kernel.Kernel.

 @version   $Revision$
 @author    Paul Speed
jme3-networking/src/main/java/com/jme3/network/base/DefaultServer.java