summaryrefslogtreecommitdiff
path: root/java/demo/IceDiscovery/hello/Client.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo/IceDiscovery/hello/Client.java')
-rw-r--r--java/demo/IceDiscovery/hello/Client.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/demo/IceDiscovery/hello/Client.java b/java/demo/IceDiscovery/hello/Client.java
index 36c7cd21702..02997b9c854 100644
--- a/java/demo/IceDiscovery/hello/Client.java
+++ b/java/demo/IceDiscovery/hello/Client.java
@@ -131,7 +131,8 @@ public class Client extends Ice.Application
}
else if(line.equals("f"))
{
- communicator().flushBatchRequests();
+ batchOneway.ice_flushBatchRequests();
+ batchDatagram.ice_flushBatchRequests();
}
else if(line.equals("T"))
{
@@ -236,4 +237,3 @@ public class Client extends Ice.Application
System.exit(status);
}
}
-