protected void connectionEstablished(Channel connectedChannel){
  LOG.info("WebSocket connectionEstablished! {}",connectedChannel);
  channel=connectedChannel;
  connected.set(true);
}

protected void connectionEstablished ( Channel connectedChannel ) { LOG . info ( "WebSocket connectionEstablished! {}" , connectedChannel ) ; channel = connectedChannel ; connected . set ( true ) ; }
called when the transport has successfully connected and is ready for use .
