public void onOOBControlMessage ( IMessageComponent source , IPipe pipe , OOBControlMessage oobCtrlMsg ) { String target = oobCtrlMsg . getTarget ( ) ; if ( "ClientBroadcastStream" . equals ( target ) ) { String serviceName = oobCtrlMsg . getServiceName ( ) ; if ( "chunkSize" . equals ( serviceName ) ) { chunkSize = ( Integer ) oobCtrlMsg . getServiceParamMap ( ) . get ( "chunkSize" ) ; notifyChunkSize ( ) ; } else { log . debug ( "Unhandled OOB control message for service: {}" , serviceName ) ; } } else { log . debug ( "Unhandled OOB control message to target: {}" , target ) ; } }
Out - of - band control message handler