1 7 15 16 package com.sun.corba.se.impl.corba; 17 18 import com.sun.corba.se.spi.orb.ORB ; 19 20 23 30 31 public class AsynchInvoke implements Runnable { 32 33 private RequestImpl _req; 34 private ORB _orb; 35 private boolean _notifyORB; 36 37 public AsynchInvoke (ORB o, RequestImpl reqToInvokeOn, boolean n) 38 { 39 _orb = o; 40 _req = reqToInvokeOn; 41 _notifyORB = n; 42 }; 43 44 45 52 53 public void run() 54 { 55 _req.doInvocation(); 57 58 synchronized (_req) 61 { 62 _req.gotResponse = true; 64 65 _req.notify(); 67 } 68 69 if (_notifyORB == true) { 70 _orb.notifyORB() ; 71 } 72 } 73 74 }; 75 76 | Popular Tags |