summaryrefslogtreecommitdiff
path: root/ACE/netsvcs/clients/Tokens/collection/README
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/netsvcs/clients/Tokens/collection/README')
-rw-r--r--ACE/netsvcs/clients/Tokens/collection/README26
1 files changed, 26 insertions, 0 deletions
diff --git a/ACE/netsvcs/clients/Tokens/collection/README b/ACE/netsvcs/clients/Tokens/collection/README
new file mode 100644
index 00000000000..4371cda0ffd
--- /dev/null
+++ b/ACE/netsvcs/clients/Tokens/collection/README
@@ -0,0 +1,26 @@
+$Id$
+
+Shows how applications can use the ACE_Token_Collection utility. This
+example creates three collections and spawns a thread to operate on
+each. The threads use the collective acquire, renew, and release
+features of ACE_Token_Collection.
+
+Here are the command-line parameters for collection:
+
+./collection:
+[-h <remote host>]
+[-p <remote port>]
+[-n <iterations>]
+[-d debug]
+
+To run the collection locally with debugging info, type
+
+% ./collection -d
+
+To run the collection remotely with debugging info, first start a
+token server and the type:
+
+% ./collection -d -h <token-server-host> -p <token-server-port>
+
+The -n <iterations> option is to control how often each thread
+iterates on the acquire, renew, release cycle.