summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/FTRT_Event_Service/consumer
blob: eec89bc5e69ee8642004df54818ad7252062f059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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