diff options
author | Marc Laukien <marc@zeroc.com> | 2002-12-30 16:42:31 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-12-30 16:42:31 +0000 |
commit | 3af891cf2040ea2acf623be26d6f09b9bd182752 (patch) | |
tree | 8e25efbee45f84e017ebdc201cbccc49dd4eba4a /java/src/Ice/_AMD_Object_ice_invoke.java | |
parent | fixes (diff) | |
download | ice-3af891cf2040ea2acf623be26d6f09b9bd182752.tar.bz2 ice-3af891cf2040ea2acf623be26d6f09b9bd182752.tar.xz ice-3af891cf2040ea2acf623be26d6f09b9bd182752.zip |
more amd work
Diffstat (limited to 'java/src/Ice/_AMD_Object_ice_invoke.java')
-rw-r--r-- | java/src/Ice/_AMD_Object_ice_invoke.java | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/java/src/Ice/_AMD_Object_ice_invoke.java b/java/src/Ice/_AMD_Object_ice_invoke.java new file mode 100644 index 00000000000..6d486d0af09 --- /dev/null +++ b/java/src/Ice/_AMD_Object_ice_invoke.java @@ -0,0 +1,46 @@ +// ********************************************************************** +// +// Copyright (c) 2002 +// ZeroC, Inc. +// Billerica, MA, USA +// +// All Rights Reserved. +// +// Ice is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License version 2 as published by +// the Free Software Foundation. +// +// ********************************************************************** + +package Ice; + +final class _AMD_Object_ice_invoke extends IceInternal.IncomingAsync implements AMD_Object_ice_invoke +{ + public + _AMD_Object_ice_invoke(IceInternal.Incoming in) + { + super(in); + } + + public void + ice_response(boolean ok, byte[] outParams) + { + try + { + __os().writeBlob(outParams); + } + catch(Ice.LocalException ex) + { + __exception(ex); + return; + } + + __response(ok); + } + + public void + ice_exception(java.lang.Exception ex) + { + __exception(ex); + } +}; |