private void notifyChunkSize ( ) { if ( chunkSize > 0 && livePipe != null ) { OOBControlMessage setChunkSize = new OOBControlMessage ( ) ; setChunkSize . setTarget ( "ConnectionConsumer" ) ; setChunkSize . setServiceName ( "chunkSize" ) ; if ( setChunkSize . getServiceParamMap ( ) == null ) { setChunkSize . setServiceParamMap ( new HashMap < String , Object > ( ) ) ; } setChunkSize . getServiceParamMap ( ) . put ( "chunkSize" , chunkSize ) ; livePipe . sendOOBControlMessage ( getProvider ( ) , setChunkSize ) ; } }
Send OOB control message with chunk size