void function ( int arg0 ) { int loc0 = 0 ; while ( loc0 < clientCount ) { if ( clients [ loc0 ] . active ( ) ) { clients [ loc0 ] . write ( arg0 ) ; loc0 ++ ; } else { removeIndex ( loc0 ) ; } } }
begin auto-generated from server_write.xml writes a value to all the connected clients . it sends bytes out from the server object . end auto-generated concode_field_sep PApplet parent concode_elem_sep ServerSocket server concode_elem_sep int lastAvailable concode_elem_sep Client[] clients concode_elem_sep int port concode_elem_sep Thread thread concode_elem_sep Method serverEventMethod concode_elem_sep int clientCount concode_field_sep void disconnect concode_elem_sep void stop concode_elem_sep void addClient concode_elem_sep String ip concode_elem_sep Client available concode_elem_sep void removeIndex concode_elem_sep boolean active concode_elem_sep void dispose concode_elem_sep void run concode_elem_sep int clientIndex concode_elem_sep void disconnectAll