diff options
author | eea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-24 23:14:33 +0000 |
---|---|---|
committer | eea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-24 23:14:33 +0000 |
commit | 48b55099609b2a4cf9d3360aa950bb0b2e3d07cd (patch) | |
tree | 3b2b9b43f76ac5cbd3202b440229a47db5a18d9c /java | |
parent | 4c8f206259c063379c9261f6709b8728bec341ec (diff) | |
download | ATCD-48b55099609b2a4cf9d3360aa950bb0b2e3d07cd.tar.gz |
Updated source files for tests/netsvcs/Time.
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); + } + } +} + + + |