Object function ( long arg0 ) { _lock . lock ( ) ; try { waitForFrame ( arg0 ) ; } finally { _waiting . set ( false ) ; if ( _error != null ) { _errorAck = true ; _errorConditionAck . signal ( ) ; _error = null ; } _lock . unlock ( ) ; } return _doneObject ; }
blocks until an object is received that is handled by process , or the specified timeout has passed . once closed any attempt to wait will throw an exception . concode_field_sep Logger logger concode_elem_sep ReentrantLock _lock concode_elem_sep boolean _errorAck concode_elem_sep Exception _error concode_elem_sep AtomicBoolean _waiting concode_elem_sep Condition _receivedCondition concode_elem_sep Condition _errorConditionAck concode_elem_sep boolean _closed concode_elem_sep boolean _ready concode_elem_sep Object _doneObject concode_field_sep boolean process concode_elem_sep void waitForFrame concode_elem_sep Object writeAndWait concode_elem_sep boolean received concode_elem_sep void error concode_elem_sep void close concode_elem_sep AMQException throwClosedException