question: private void onConnect ( ) { connectionState = ConnectionState . Connected ; checkForUpdatedFlight = true ; subscribe ( String . format ( trafficAlertChannel , flightId ) ) ; subscribe ( String . format ( situationalAwarenessChannel , flightId ) ) ; }
target:  When connected, subscribe to the necessary channels to get properly notified