ICE异步调用方法
ICE的AMI和AMD:????
???????????????
?????????????????????????????????
?????????adapter->activate();
?????????ic->waitForShutdown();
?????????return??0;
?????}
?};
?
?int??main( int??argc,??char * argv[])
?{
?????MyApp app;
?????return??app.main(argc, argv);
?}
客户端不需要改变,编译运行服务器然后用客户端测试效果。(其实效果不是很明显,因为AMD提高的是服务器的负荷能力)