FileDocCategorySizeDatePackage
AsynchInvoke.javaAPI DocJava SE 5 API1955Fri Aug 26 14:54:18 BST 2005com.sun.corba.se.impl.corba

AsynchInvoke

public class AsynchInvoke extends Object implements Runnable

Fields Summary
private RequestImpl
_req
private com.sun.corba.se.spi.orb.ORB
_orb
private boolean
_notifyORB
Constructors Summary
public AsynchInvoke(com.sun.corba.se.spi.orb.ORB o, RequestImpl reqToInvokeOn, boolean n)

	_orb = o;
	_req = reqToInvokeOn;
	_notifyORB = n;
    
Methods Summary
public voidrun()

	// do the actual invocation
	_req.doInvocation();
    
	// for the asynchronous case, note that the response has been
	// received.
	synchronized (_req)
	    {
		// update local boolean indicator
		_req.gotResponse = true;

		// notify any client waiting on a 'get_response'
		_req.notify();
	    }
      
	if (_notifyORB == true) {
	    _orb.notifyORB() ;
	}