我用orbacus的\OB-4.3.1-eval\event\demo目录下的示例代码编译出pushClient.exe和pushServer.exe,它们是有类型的push consumer和push supplier。
然后我运行事件服务器,运行命令行是:...orbacus\bin\eventserv.exe -t -IIOPport 3722,
可是运行后报没有Interface Repository,我就运行起Interface Repository服务:
...orbacus\bin irserv.exe -IIOPport 3723
然后重新运行事件服务器:
...\orbacus\bin\eventserv.exe -t -IIOPport 3722 -ORBInitRef InterfaceRepository=corbaloc::172.20.68.65:3723/DefaultRepository
这下事件服务器总算能够正常运行了。
我运行supplier的命令行:
pushServer.exe -ORBInitRef TypedEventService=corbaloc::172.20.68.65:3722/DefaultTypedEventChannel 
可是报InterfaceNotSupported错误。
然后我运行consumer:
pushClient.exe --timeout 0 -ORBInitRef TypedEventService=corbaloc::172.20.68.65:3722/DefaultTypedEventChannel
报NoSuchImplementation错误。我现在对其中的原理也大致了解了一些,就是不知道怎么让编译好的程序跑起来,orbacus自带的手册也没有说清楚,请做过类似工作的大虾帮帮忙,多谢了!!此外,有没有比较好的关于orbacus的书啊,见过基本corba的书,都是不是讲的orbacus,很多实际的例子都没法用。如果100分不够,可以另外开贴送分。