summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authoreea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-24 23:14:33 +0000
committereea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-24 23:14:33 +0000
commitf0900e52f749acec048e2bee8e9b32ccc273aa44 (patch)
tree3b2b9b43f76ac5cbd3202b440229a47db5a18d9c /java
parent0f434d5a68401fc704f99f20c618dbfede60e26b (diff)
downloadATCD-f0900e52f749acec048e2bee8e9b32ccc273aa44.tar.gz
Updated source files for tests/netsvcs/Time.
Diffstat (limited to 'java')
-rw-r--r--java/JACE/tests/netsvcs/Time/TSClient.java37
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);
+ }
+ }
+}
+
+
+