summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/FTRT_Event_Service/supplier
blob: 8825f9a75ae2948cd82b44e64ec35fb10624b4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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;;
        -orbd) EndpointParam="$EndpointParam -ORBDebugLevel $2"; shift;;
         *) EndpointParam="$EndpointParam $1";;
    esac
    shift
done

cd $TAO_ROOT/orbsvcs/tests/FtRtEvent
export FTEC_TransactionDepth
./supplier $EndpointParam