diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-10-30 16:00:34 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-10-30 16:00:34 +0000 |
commit | 1e53f3d2e0bdf057b91d58e6fe96354606e40384 (patch) | |
tree | 04a578933cf346c974d77861217207864097924d /java/src/Ice/ObjectPrxHelperBase.java | |
parent | Improved context-related code generation (diff) | |
download | ice-1e53f3d2e0bdf057b91d58e6fe96354606e40384.tar.bz2 ice-1e53f3d2e0bdf057b91d58e6fe96354606e40384.tar.xz ice-1e53f3d2e0bdf057b91d58e6fe96354606e40384.zip |
Small enhancement to ice_invoke_async
Diffstat (limited to 'java/src/Ice/ObjectPrxHelperBase.java')
-rw-r--r-- | java/src/Ice/ObjectPrxHelperBase.java | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/java/src/Ice/ObjectPrxHelperBase.java b/java/src/Ice/ObjectPrxHelperBase.java index 0d621e57120..da2a2ea59d3 100644 --- a/java/src/Ice/ObjectPrxHelperBase.java +++ b/java/src/Ice/ObjectPrxHelperBase.java @@ -267,28 +267,22 @@ public class ObjectPrxHelperBase implements ObjectPrx public final void ice_invoke_async(AMI_Object_ice_invoke cb, String operation, OperationMode mode, byte[] inParams) { - ice_invoke_async(cb, operation, mode, inParams, null, false); + __checkTwowayOnly("ice_invoke_async"); + ice_invoke_async(cb, operation, mode, inParams, null); } public final void ice_invoke_async(AMI_Object_ice_invoke cb, String operation, OperationMode mode, byte[] inParams, java.util.Map context) { - ice_invoke_async(cb, operation, mode, inParams, context, true); - } - - private void - ice_invoke_async(AMI_Object_ice_invoke cb, String operation, OperationMode mode, byte[] inParams, - java.util.Map context, boolean explicitCtx) - { - if(explicitCtx && context == null) + if(context == null) { context = _emptyContext; } __checkTwowayOnly("ice_invoke_async"); - cb.__invoke(this, operation, mode, inParams, context); + ice_invoke_async(cb, operation, mode, inParams, context); } - + public final Identity ice_getIdentity() { |