public ShellChannel accept ( ) throws IOException { SocketChannel newChannel = ( ( ServerSocketChannel ) channel ) . accept ( ) ; if ( newChannel == null ) return null ; return new ShellChannelExt ( chanProvider , newChannel ) ; }
Accepts a connection made to this channel s socket .