summaryrefslogtreecommitdiff
path: root/java/src
diff options
context:
space:
mode:
Diffstat (limited to 'java/src')
-rw-r--r--java/src/Ice/AMISentCallback.java31
-rw-r--r--java/src/Ice/AMI_Object_ice_flushBatchRequests.java41
-rw-r--r--java/src/Ice/AMI_Object_ice_invoke.java55
-rw-r--r--java/src/Ice/ObjectPrx.java43
-rw-r--r--java/src/Ice/ObjectPrxHelperBase.java61
5 files changed, 0 insertions, 231 deletions
diff --git a/java/src/Ice/AMISentCallback.java b/java/src/Ice/AMISentCallback.java
deleted file mode 100644
index 90a408e8a4f..00000000000
--- a/java/src/Ice/AMISentCallback.java
+++ /dev/null
@@ -1,31 +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;
-
-/**
- * Callback interface for AMI invocations. This is useful
- * for applications that send asynchronous invocations that
- * might not be sent for some time and, therefore, are
- * queued in the Ice run time for transmission.
- * <p>
- * The Ice run time calls <code>ice_sent</code> if an
- * an AMI invocation cannot be written to transport and was
- * queued for later transmission. Applications that need to
- * implement flow control for AMI invocations can implement
- * this interface on the corresponding AMI callback object.
- **/
-public interface AMISentCallback
-{
- /**
- * Indicates to the caller of an AMI operation that
- * the invocation was queued for later transmission.
- **/
- void ice_sent();
-};
diff --git a/java/src/Ice/AMI_Object_ice_flushBatchRequests.java b/java/src/Ice/AMI_Object_ice_flushBatchRequests.java
deleted file mode 100644
index 63b45990b02..00000000000
--- a/java/src/Ice/AMI_Object_ice_flushBatchRequests.java
+++ /dev/null
@@ -1,41 +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;
-
-/**
- * Callback object for {@link ObjectPrx#.ice_flushBatchRequests_async}.
- **/
-public abstract class AMI_Object_ice_flushBatchRequests extends Callback_Object_ice_flushBatchRequests
-{
- /**
- * Indicates to the caller that a call to <code>ice_flushBatchRequests_async</code>
- * raised an Ice run-time exception.
- *
- * @param ex The run-time exception that was raised.
- *
- * @see ObjectPrx#ice_flushBatchRequests_async
- **/
- public abstract void ice_exception(LocalException ex);
-
- @Override
- public final void exception(LocalException ex)
- {
- ice_exception(ex);
- }
-
- @Override
- public final void sent(boolean sentSynchronously)
- {
- if(sentSynchronously && this instanceof AMISentCallback)
- {
- ((AMISentCallback)this).ice_sent();
- }
- }
-}
diff --git a/java/src/Ice/AMI_Object_ice_invoke.java b/java/src/Ice/AMI_Object_ice_invoke.java
deleted file mode 100644
index e3bd277d1f4..00000000000
--- a/java/src/Ice/AMI_Object_ice_invoke.java
+++ /dev/null
@@ -1,55 +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;
-
-/**
- * Callback object for {@link ObjectPrx#.ice_invoke_async}.
- **/
-public abstract class AMI_Object_ice_invoke extends Callback_Object_ice_invoke
-{
- /**
- * Called when an asynchronous operation invocation completes successfully or raises a user exception.
- *
- * @param ok Indicates the result of the invocation. If <code>true</code>, the operation
- * completed succesfully; if <code>false</code>, the operation raised a user exception.
- * @param outEncaps Contains the encoded out-parameters of the operation (if any) if <code>ok</code>
- * is <code>true</code>; otherwise, if <code>ok</code> is <code>false</code>, contains the
- * encoded user exception raised by the operation.
- **/
- public abstract void ice_response(boolean ok, byte[] outEncaps);
-
- /**
- * Called when the invocation raises an Ice run-time exception.
- *
- * @param ex The Ice run-time exception raised by the operation.
- **/
- public abstract void ice_exception(LocalException ex);
-
- @Override
- public final void response(boolean ok, byte[] outEncaps)
- {
- ice_response(ok, outEncaps);
- }
-
- @Override
- public final void exception(LocalException ex)
- {
- ice_exception(ex);
- }
-
- @Override
- public final void sent(boolean sentSynchronously)
- {
- if(!sentSynchronously && this instanceof AMISentCallback)
- {
- ((AMISentCallback)this).ice_sent();
- }
- }
-}
diff --git a/java/src/Ice/ObjectPrx.java b/java/src/Ice/ObjectPrx.java
index b3af5ef6eb8..57f30adaff8 100644
--- a/java/src/Ice/ObjectPrx.java
+++ b/java/src/Ice/ObjectPrx.java
@@ -749,40 +749,6 @@ public interface ObjectPrx
boolean end_ice_invoke(ByteSeqHolder outParams, AsyncResult __result);
/**
- * Invokes an operation dynamically and asynchronously.
- *
- * @param cb The callback object to notify when the operation completes.
- * @param operation The name of the operation to invoke.
- * @param mode The operation mode (normal or idempotent).
- * @param inParams The encoded in-parameters for the operation.
- * @return If the operation was invoked synchronously (because there
- * was no need to queue the request), the return value is <code>true</code>;
- * otherwise, if the invocation was queued, the return value is <code>false</code>.
- *
- * @see AMI_Object_ice_invoke
- * @see OperationMode
- **/
- boolean ice_invoke_async(AMI_Object_ice_invoke cb, String operation, OperationMode mode, byte[] inParams);
-
- /**
- * Invokes an operation dynamically and asynchronously.
- *
- * @param cb The callback object to notify when the operation completes.
- * @param operation The name of the operation to invoke.
- * @param mode The operation mode (normal or idempotent).
- * @param inParams The encoded in-parameters for the operation.
- * @param context The context map for the invocation.
- * @return If the operation was invoked synchronously (because there
- * was no need to queue the request), the return value is <code>true</code>;
- * otherwise, if the invocation was queued, the return value is <code>false</code>.
- *
- * @see AMI_Object_ice_invoke
- * @see OperationMode
- **/
- boolean ice_invoke_async(AMI_Object_ice_invoke cb, String operation, OperationMode mode, byte[] inParams,
- java.util.Map<String, String> context);
-
- /**
* Returns the identity embedded in this proxy.
*
* @return The identity of the target object.
@@ -1196,15 +1162,6 @@ public interface ObjectPrx
/**
* Asynchronously flushes any pending batched requests for this communicator. The call does not block.
*
- * @param cb The callback object to notify the application when the flush is complete.
- * @return <code>true</code> if the requests were flushed immediately without blocking; <code>false</code>
- * if the requests could not be flushed immediately.
- **/
- boolean ice_flushBatchRequests_async(AMI_Object_ice_flushBatchRequests cb);
-
- /**
- * Asynchronously flushes any pending batched requests for this communicator. The call does not block.
- *
* @return The asynchronous result object.
**/
AsyncResult begin_ice_flushBatchRequests();
diff --git a/java/src/Ice/ObjectPrxHelperBase.java b/java/src/Ice/ObjectPrxHelperBase.java
index 9387bb4a6ba..8c8d719570a 100644
--- a/java/src/Ice/ObjectPrxHelperBase.java
+++ b/java/src/Ice/ObjectPrxHelperBase.java
@@ -1513,52 +1513,6 @@ public class ObjectPrxHelperBase implements ObjectPrx, java.io.Serializable
}
/**
- * Invokes an operation dynamically and asynchronously.
- *
- * @param cb The callback object to notify when the operation completes.
- * @param operation The name of the operation to invoke.
- * @param mode The operation mode (normal or idempotent).
- * @param inParams The encoded in-parameters for the operation.
- * @return If the operation was invoked synchronously (because there
- * was no need to queue the request), the return value is <code>true</code>;
- * otherwise, if the invocation was queued, the return value is <code>false</code>.
- *
- * @see AMI_Object_ice_invoke
- * @see OperationMode
- **/
- @Override
- public final boolean
- ice_invoke_async(AMI_Object_ice_invoke cb, String operation, OperationMode mode, byte[] inParams)
- {
- AsyncResult __result = begin_ice_invoke(operation, mode, inParams, cb);
- return __result.sentSynchronously();
- }
-
- /**
- * Invokes an operation dynamically and asynchronously.
- *
- * @param cb The callback object to notify when the operation completes.
- * @param operation The name of the operation to invoke.
- * @param mode The operation mode (normal or idempotent).
- * @param inParams The encoded in-parameters for the operation.
- * @param __context The context map for the invocation.
- * @return If the operation was invoked synchronously (because there
- * was no need to queue the request), the return value is <code>true</code>;
- * otherwise, if the invocation was queued, the return value is <code>false</code>.
- *
- * @see AMI_Object_ice_invoke
- * @see OperationMode
- **/
- @Override
- public final boolean
- ice_invoke_async(AMI_Object_ice_invoke cb, String operation, OperationMode mode, byte[] inParams,
- java.util.Map<String, String> context)
- {
- AsyncResult __result = begin_ice_invoke(operation, mode, inParams, context, cb);
- return __result.sentSynchronously();
- }
-
- /**
* Returns the identity embedded in this proxy.
*
* @return The identity of the target object.
@@ -2561,21 +2515,6 @@ public class ObjectPrxHelperBase implements ObjectPrx, java.io.Serializable
/**
* Asynchronously flushes any pending batched requests for this communicator. The call does not block.
*
- * @param cb The callback object to notify the application when the flush is complete.
- * @return <code>true</code> if the requests were flushed immediately without blocking; <code>false</code>
- * if the requests could not be flushed immediately.
- **/
- @Override
- public boolean
- ice_flushBatchRequests_async(AMI_Object_ice_flushBatchRequests cb)
- {
- AsyncResult result = begin_ice_flushBatchRequests(cb);
- return result.sentSynchronously();
- }
-
- /**
- * Asynchronously flushes any pending batched requests for this communicator. The call does not block.
- *
* @return The asynchronous result object.
**/
@Override