diff options
author | Michi Henning <michi@zeroc.com> | 2003-08-29 06:51:58 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-08-29 06:51:58 +0000 |
commit | 14e46bc24e79df49bd603c08d293c17245b9ca93 (patch) | |
tree | c7fc6f422c2a0706ed5e3926a091aa715ee41021 /java/src/IceInternal/IncomingConnectionFactory.java | |
parent | connection closure timeout (diff) | |
download | ice-14e46bc24e79df49bd603c08d293c17245b9ca93.tar.bz2 ice-14e46bc24e79df49bd603c08d293c17245b9ca93.tar.xz ice-14e46bc24e79df49bd603c08d293c17245b9ca93.zip |
Removed ice_flush() from proxy base class and implemented
Communicator::flushBatchRequests().
Diffstat (limited to 'java/src/IceInternal/IncomingConnectionFactory.java')
-rw-r--r-- | java/src/IceInternal/IncomingConnectionFactory.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/java/src/IceInternal/IncomingConnectionFactory.java b/java/src/IceInternal/IncomingConnectionFactory.java index 251e1d1ec5b..adb21c99db8 100644 --- a/java/src/IceInternal/IncomingConnectionFactory.java +++ b/java/src/IceInternal/IncomingConnectionFactory.java @@ -139,6 +139,16 @@ public class IncomingConnectionFactory extends EventHandler return arr; } + public void + flushBatchRequests() + { + Connection[] c = connections(); // connections() is synchronized, so no need to synchronize here. + for(int i = 0; i < c.length; i++) + { + c[i].flushBatchRequest(); + } + } + // // Operations from EventHandler. // |