diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/JACE/tests/netsvcs/Time/TSClient.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/java/JACE/tests/netsvcs/Time/TSClient.java b/java/JACE/tests/netsvcs/Time/TSClient.java new file mode 100644 index 00000000000..7a8adf93f42 --- /dev/null +++ b/java/JACE/tests/netsvcs/Time/TSClient.java @@ -0,0 +1,37 @@ +package JACE.tests.netsvcs.Time; + +import JACE.netsvcs.Time.*; +import JACE.OS.*; +import JACE.Reactor.*; + +public class TSClient +{ + + // Will run until killed since the default is to run the timer + // queue in its own thread. + public static void main (String args[]) + { + ACE.enableDebugging (); + + TSClerkProcessor cp = new TSClerkProcessor (); + + if (cp.init (args) != 0) + return; + + ACE.DEBUG ("***************************"); + ACE.DEBUG ("Press enter to end the test"); + ACE.DEBUG ("***************************"); + + try { + System.in.read(); + + cp.close (); + + } catch (Exception e) { + ACE.ERROR (e); + } + } +} + + + |