( 11, org.omg.CORBA.CompletionStatus.COMPLETED_NO );
}
synchronized ( requests )
{
Request req = null;
if ( request != null )
{
request.get_response();
req = request;
request = null;
return req;
}
Iterator<org.omg.CORBA.Request> iter;
while ( true )
{
iter = requests.iterator();
while ( iter.hasNext() )
{
req = (Request)iter.next();
if ( req.poll_response() )
{
req.get_response();
return req;
}
}
}
}