diff options
Diffstat (limited to 'gnu/CORBA')
-rw-r--r-- | gnu/CORBA/Simple_delegate.java | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/CORBA/Simple_delegate.java b/gnu/CORBA/Simple_delegate.java index 509ec89d2..29ec9f50d 100644 --- a/gnu/CORBA/Simple_delegate.java +++ b/gnu/CORBA/Simple_delegate.java @@ -266,12 +266,19 @@ public class Simple_delegate } /** - * This should never be called this type delegate. - * - * @throws InternalError, always. + * This method assumes that the target is local and connected to the ORB. */ public Request request(org.omg.CORBA.Object target, String operation) { - throw new InternalError(); + if (orb instanceof Functional_ORB) + { + ((Functional_ORB) orb).ensureRunning(); + } + gnuRequest g = new gnuRequest(); + g.setORB(orb); + g.setOperation(operation); + g.setIor(ior); + g.m_target = target; + return g; } }
\ No newline at end of file |