summaryrefslogtreecommitdiff
path: root/gnu/CORBA
diff options
context:
space:
mode:
authorAudrius Meskauskas <audriusa@Bioinformatics.org>2005-10-15 18:21:54 +0000
committerAudrius Meskauskas <audriusa@Bioinformatics.org>2005-10-15 18:21:54 +0000
commit6d2c440512a7a2e7d0be9d478394ec365bde1547 (patch)
tree7349536ab55f2b79e1b59193e8e768e8b6c8a8b4 /gnu/CORBA
parent63686f36e6c7a0c4fe3f14cc309cb632f7124870 (diff)
downloadclasspath-6d2c440512a7a2e7d0be9d478394ec365bde1547.tar.gz
2005-10-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* org/omg/CORBA/DynamicImplementation.java: Made concrete. (invoke): Implemented. gnu/CORBA/Simple_delegate.java (request): Implemented.
Diffstat (limited to 'gnu/CORBA')
-rw-r--r--gnu/CORBA/Simple_delegate.java15
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