diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-10-20 11:40:05 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-10-20 11:40:05 -0230 |
commit | b51469b41167fb86ae2059a15cf0475c53fdda7b (patch) | |
tree | fc85d6ca2efd89c67e1e4e7438f437c3e08313f4 /java/src/Ice/OnewayCallback.java | |
parent | Fixed (ICE-5695) - IceSSL: misleading exception (diff) | |
download | ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.tar.bz2 ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.tar.xz ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.zip |
Down with ant. From the gradle to the grave.
Diffstat (limited to 'java/src/Ice/OnewayCallback.java')
-rw-r--r-- | java/src/Ice/OnewayCallback.java | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/java/src/Ice/OnewayCallback.java b/java/src/Ice/OnewayCallback.java deleted file mode 100644 index 3401c98fc9d..00000000000 --- a/java/src/Ice/OnewayCallback.java +++ /dev/null @@ -1,77 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2014 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; - -/** - * Base class for generated oneway operation callback. - **/ -public abstract class OnewayCallback extends IceInternal.CallbackBase -{ - /** - * Called when the invocation response is received. - **/ - public abstract void response(); - - /** - * Called when the invocation raises an Ice run-time exception. - * - * @param ex The Ice run-time exception raised by the operation. - **/ - public abstract void exception(LocalException ex); - - /** - * Called when the invocation raises an Ice system exception. - * - * @param ex The Ice system exception raised by the operation. - **/ - public void exception(SystemException ex) - { - exception(new Ice.UnknownException(ex)); - } - - /** - * Called when a queued invocation is sent successfully. - **/ - public void sent(boolean sentSynchronously) - { - } - - @Override - public final void __sent(AsyncResult __result) - { - sent(__result.sentSynchronously()); - } - - @Override - public final boolean __hasSentCallback() - { - return true; - } - - @Override - public final void __completed(AsyncResult __result) - { - try - { - ((ObjectPrxHelperBase)__result.getProxy()).__end(__result, __result.getOperation()); - } - catch(LocalException __ex) - { - exception(__ex); - return; - } - catch(SystemException __ex) - { - exception(__ex); - return; - } - response(); - } -} |