summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/FTRT_Event_Service/consumer
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/FTRT_Event_Service/consumer')
-rwxr-xr-xTAO/orbsvcs/FTRT_Event_Service/consumer22
1 files changed, 22 insertions, 0 deletions
diff --git a/TAO/orbsvcs/FTRT_Event_Service/consumer b/TAO/orbsvcs/FTRT_Event_Service/consumer
new file mode 100755
index 00000000000..eec89bc5e69
--- /dev/null
+++ b/TAO/orbsvcs/FTRT_Event_Service/consumer
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+HOSTNAME=`hostname`
+EndpintParam=
+FTEC_TransactionDepth=${FTEC_TransactionDepth=1}
+
+
+while test "$1" != ""
+do
+ case "$1" in
+ -sciop) ORBNameServicePort=${ORBNameServicePort=10000}
+ export NameServiceIOR=${NameServiceIOR=corbaloc:sciop:$HOSTNAME:$ORBNameServicePort/NameService}
+ EndpointParam="-ORBEndpoint sciop://";;
+ -d) $FTEC_TransactionDepth=$2
+ shift;;
+ esac
+ shift
+done
+
+cd $TAO_ROOT/orbsvcs/tests/FtRtEvent
+export FTEC_TransactionDepth
+./consumer $EndpointParam