Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / orbsvcs / FTRT_Event_Service / ftec
bloba6ca436573b68304592487837f55ecb6680872db
1 #!/bin/sh
2 HOSTNAME=`hostname`
3 ARGS=
5 while test "$1" != ""
6 do
7 case "$1" in
8 -sciop) ORBNameServicePort=${ORBNameServicePort=10000}
9 export NameServiceIOR=${NameServiceIOR=corbaloc:sciop:$HOSTNAME:$ORBNameServicePort/NameService}
10 ARGS="$ARGS -ORBEndpoint sciop:// ";;
11 -sctp) export FTEC_DETECTOR_TRANSPORT_PROTOCOL=sctp ;;
12 -hb) export FTEC_DETECTOR_TRANSPORT_PROTOCOL=sctp
13 export FTEC_HEART_BEAT=$2
14 shift;;
15 -ami) export FTEC_REPLCATION_STRATEGY=AMI;;
16 -ns) ORBNameServicePort=${ORBNameServicePort=10000}
17 export NameServiceIOR=${NameServiceIOR=corbaloc:iiop:$2:$ORBNameServicePort/NameService};
18 shift;;
19 *) ARGS="$ARGS $1";;
20 esac
21 shift
22 done
23 echo $ARGS
24 cd ./Event_Service
25 ./ftrt_eventservice $ARGS