summaryrefslogtreecommitdiff
path: root/java/demo/Ice/hello/Client.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo/Ice/hello/Client.java')
-rw-r--r--java/demo/Ice/hello/Client.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/java/demo/Ice/hello/Client.java b/java/demo/Ice/hello/Client.java
index c5a75693aba..f21fd38d1fd 100644
--- a/java/demo/Ice/hello/Client.java
+++ b/java/demo/Ice/hello/Client.java
@@ -97,8 +97,7 @@ public class Client
}
else if(line.equals("f"))
{
- batchOneway.ice_flush();
- batchDatagram.ice_flush();
+ communicator.flushBatchRequests();
}
else if(line.equals("T"))
{