stops the server if it is running . concode_field_sep Logger LOG concode_elem_sep BlockingQueue<WebSocketConnection> connections concode_elem_sep int port concode_elem_sep ServerBootstrap bootstrap concode_elem_sep ChannelGroup channelGroup concode_elem_sep int serverPort concode_elem_sep Channel serverChannel concode_field_sep WebSocketConnection getConnection concode_elem_sep boolean isRunning concode_elem_sep void start concode_elem_sep void start concode_elem_sep String getUri
void function ( ) { if ( bootstrap != null ) { LOG . info ( "srini_string" ) ; channelGroup . close ( ) . awaitUninterruptibly ( ) ; serverChannel . close ( ) ; bootstrap . releaseExternalResources ( ) ; serverChannel = null ; bootstrap = null ; } }