void function ( ) { if ( bufferedLiveOutput . length ( ) == 0 ) { return ; } String loc0 = bufferedLiveOutput . toString ( ) ; bufferedLiveOutput = new StringBuffer ( ) ; client . sendMessage ( ProtocolConstants . LIVE_OUTPUT_TYPE , loc0 ) ; }
called on a timer to send the live output to the process that started us . we only send whatever is there since we 've last sent output . it was causing some socket problems to send the output immediately upon receiving it . i suspect due to numerous threads adding output . so its now only done periodically and in a more thread-safe manner . concode_field_sep Gradle gradle concode_elem_sep StringBuffer bufferedLiveOutput concode_elem_sep float totalTasksExecuted concode_elem_sep Timer liveOutputTimer concode_elem_sep Logger logger concode_elem_sep ClientProcess client concode_elem_sep float totalTasksToExecute concode_elem_sep Server localServer concode_elem_sep float percentComplete concode_elem_sep boolean continueConnection concode_elem_sep StringBuffer allOutputText concode_field_sep boolean serverConnected concode_elem_sep void beforeExecute concode_elem_sep void graphPopulated concode_elem_sep void onOutput concode_elem_sep void projectsLoaded concode_elem_sep void buildStarted concode_elem_sep void buildFinished concode_elem_sep boolean continueConnection concode_elem_sep void afterExecute concode_elem_sep void projectsEvaluated concode_elem_sep void settingsEvaluated concode_elem_sep void initialize concode_elem_sep void shutdown