void function ( long arg0 ) { synchronized ( this ) { if ( collectedEvents . size ( ) > 0 ) return ; try { wait ( arg0 ) ; } catch ( InterruptedException loc0 ) { logger . debug ( "srini_string" , loc0 ) ; } } }
blocks until at least one event is received or until waitfor miliseconds pass whichever happens first . concode_field_sep List<EventObject> collectedEvents concode_elem_sep Logger logger concode_field_sep void messageReceived concode_elem_sep void messageDeliveryFailed concode_elem_sep void messageDelivered