hello
来自「MICO2.3.13 corba 环境平台」· 代码 · 共 26 行
TXT
26 行
#!/bin/shMICORC=/dev/nullexport MICORCrm -f NameService-root.infecho "starting Naming Service daemon ..."../../../coss/naming/nsd -ORBIIOPAddr inet:localhost:12456 &nsd_pid=$!sleep 3# run Server#rm -f hello.ref./server -ORBSL3 -ORBInitRef NameService=corbaloc::localhost:12456/NameService &server_pid=$!trap "kill $nsd_pid $server_pid > /dev/null 2> /dev/null" 0#for i in 0 1 2 3 4 5 6 7 8 9 ; do if test -r hello.ref ; then break ; else sleep 1 ; fi ; donesleep 2# run client./client -ORBSL3 -ORBInitRef NameService=corbaloc::localhost:12456/NameService
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?