summaryrefslogtreecommitdiff
path: root/java/test/Ice/dispatcher/TestI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/dispatcher/TestI.java')
-rw-r--r--java/test/Ice/dispatcher/TestI.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/test/Ice/dispatcher/TestI.java b/java/test/Ice/dispatcher/TestI.java
index 9b2681c1ca7..a3e0e717e88 100644
--- a/java/test/Ice/dispatcher/TestI.java
+++ b/java/test/Ice/dispatcher/TestI.java
@@ -34,6 +34,18 @@ public class TestI extends _TestIntfDisp
}
public void
+ sleep(int to, Ice.Current current)
+ {
+ try
+ {
+ Thread.currentThread().sleep(to);
+ }
+ catch(InterruptedException ex)
+ {
+ }
+ }
+
+ public void
opWithPayload(byte[] seq, Ice.Current current)
{
test(_dispatcher.isDispatcherThread());