diff options
Diffstat (limited to 'java/src/Ice/Callback_Object_ice_id.java')
-rw-r--r-- | java/src/Ice/Callback_Object_ice_id.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/java/src/Ice/Callback_Object_ice_id.java b/java/src/Ice/Callback_Object_ice_id.java new file mode 100644 index 00000000000..88814d2b0db --- /dev/null +++ b/java/src/Ice/Callback_Object_ice_id.java @@ -0,0 +1,38 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +package Ice; + +/** + * Callback object for {@link ObjectPrx#.begin_ice_id}. + **/ +public abstract class Callback_Object_ice_id extends TwowayCallback +{ + /** + * Called when the invocation completes successfully. + * + * @param __ret The Slice type id of the most-derived interface supported by the target object. + **/ + public abstract void response(String __ret); + + public final void __completed(AsyncResult __result) + { + String __ret = null; + try + { + __ret = __result.getProxy().end_ice_id(__result); + } + catch(LocalException __ex) + { + exception(__ex); + return; + } + response(__ret); + } +} |