﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-网络服务器软件开发/中间件开发，关注ACE/ICE/boost-随笔分类-ICE</title><link>http://www.cppblog.com/true/category/14389.html</link><description /><language>zh-cn</language><lastBuildDate>Sun, 23 Jan 2011 13:59:21 GMT</lastBuildDate><pubDate>Sun, 23 Jan 2011 13:59:21 GMT</pubDate><ttl>60</ttl><item><title>ICE服务的线程池配置</title><link>http://www.cppblog.com/true/archive/2011/01/22/139117.html</link><dc:creator>true</dc:creator><author>true</author><pubDate>Sat, 22 Jan 2011 08:18:00 GMT</pubDate><guid>http://www.cppblog.com/true/archive/2011/01/22/139117.html</guid><wfw:comment>http://www.cppblog.com/true/comments/139117.html</wfw:comment><comments>http://www.cppblog.com/true/archive/2011/01/22/139117.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/true/comments/commentRss/139117.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/true/services/trackbacks/139117.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在手册的"The Ice Run Time in Detail"的"The Ice Threading Model"章节有详细介绍，摘录常用部分：<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.每个communicator会创建两个线程池：分别命名为Ice.ThreadPool.Client和Ice.ThreadPool.Server<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.name.Size：初始线程池的数量，默认为1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.name.SizeMax：线程池中最大线程数量，默认为1。线程的数量在Size和SizeMax之间动态调整<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.name.SizeWarn：线程池的警戒线，超过此值，Ice运行时会输出警告日志信息<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5.name.StackSize：线程池中线程的栈的大小，单位字节，默认为OS的默认值<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6.name.Serialize：大于零表示序列化同一个连接的所有请求，默认为不序列化，即无序的。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7.默认情况下，所有adapter共享communicator的线程池，但也可以根据具体情况指定单独的线程池，暂时用不到，不多解释了
<img src ="http://www.cppblog.com/true/aggbug/139117.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/true/" target="_blank">true</a> 2011-01-22 16:18 <a href="http://www.cppblog.com/true/archive/2011/01/22/139117.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>IceBox开发简记</title><link>http://www.cppblog.com/true/archive/2010/10/07/128860.html</link><dc:creator>true</dc:creator><author>true</author><pubDate>Wed, 06 Oct 2010 22:09:00 GMT</pubDate><guid>http://www.cppblog.com/true/archive/2010/10/07/128860.html</guid><wfw:comment>http://www.cppblog.com/true/comments/128860.html</wfw:comment><comments>http://www.cppblog.com/true/archive/2010/10/07/128860.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/true/comments/commentRss/128860.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/true/services/trackbacks/128860.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IceBox是Ice服务的容器，它的设计来源于<span lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">Service Configurator</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">模式，该模式采取集中式的策略对服务进行加载，管理，<span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">服务被设计为可动态加载的组件，服务主要是动态库的形式，然后按需配置到IceBox，这种方式解耦了服务器和服务，使开发人员更专注于业务逻辑服务的开发。<br>&nbsp;&nbsp;IceBox的基本开发步骤：<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1。服务类从IceBox::Service派生<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font face=Calibri>2。实现服务启动接口：start接口<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3。实现服务关闭接口：stop接口<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4。<span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">当</span><span lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">IceBox</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">加载服务完成时，</span><span lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">start</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">接口被调用，</span><span lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">start</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">接口一般包含服务初始化的内容，例如申请资源，创建适配器和</span><span lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">servants</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">。</span><span lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">Stop</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">正好和</span><span lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">start</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">相反，如果将</span><span lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">start</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">理解为服务的构造函数，则</span><span lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">stop</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">就是析构函数<br>&nbsp;&nbsp;<span lang=EN-US style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><span style="mso-list: Ignore"><span style="FONT: 7pt 'Times New Roman'">&nbsp;</span></span></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">开发实例：已知</span><span lang=EN-US><font face=Calibri>A</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">点的坐标</span><span lang=EN-US><font face=Calibri>(x,y)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">，和点集合</span><span lang=EN-US><font face=Calibri>S</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">，求出</span><span lang=EN-US><font face=Calibri>S</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">中与</span><span lang=EN-US><font face=Calibri>A</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">距离最近的点，例子没啥难度，代码就不贴了，附近有详细的代码及必要的注释，想运行实例参考README文件，由于配置文件比较多，做一些说明，配置文件弄明白了，其它的都好理解了。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1。<span lang=EN-US><font face=Calibri>Config.client</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">，客户端配置文件，主要用来定位服务，主要包含服务的</span><span lang=EN-US><font face=Calibri>IP</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">，端口，协议，服务的</span><span lang=EN-US><font face=Calibri>Identity<br></font></span>
<p class=MsoListParagraph style="MARGIN: 0cm 0cm 0pt 42pt; TEXT-INDENT: -21pt; mso-char-indent-count: 0; mso-list: l0 level2 lfo1">&nbsp;&nbsp;2。Config.service,服务的配置文件，主要包含服务的IP（有可能多网卡），端口，协议，和config.client对应<br>3。Config.Icebox,主要包含需要加载的服务的名字以及服务的创建方式，同时，可以指定服务的配置文件，即config.service；此外还包含，监听iceboxadmin管理工具的连接信息<br>4。<span lang=EN-US><font face=Calibri>Config.admin</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">，</span><span lang=EN-US><font face=Calibri>iceboxadmin</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">管理工具的配置文件，主要包含连接到</span><span lang=EN-US><font face=Calibri>icebox</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">的连接信息<br>5。Config.client和config.service中SSL配置，需要配置有关加密的文件路径，ice的demo中不用配置该路径，是因为已经用相对路径的方式默认提供了<br>6。这么多的配置文件，不是必须的，只是为了方便组织，文件名是可以变化的，愿意的话，可以都写到一个配置文件</span></p>
&nbsp;&nbsp;&nbsp;最后有两点需要特别说明，一是在Ice的安装目录的bin目录下，有两个版本的icebox，release版icebox.exe和debug版iceboxd.exe，开发的服务必须和icebox的版本保持一致，否则icebox无法启动。二是由于IceBox服务是以DLL开发的，如果你用的debug版iceboxd.exe，那么在config.icebox的配置文件中，你传递的DLL的名字，他会自动追加上一个d，比如下面的配置项：IceBox.Service.Location=LocationService:create --Ice.Config=config.service，iceboxd.exe会查找LocationServiced.dll,然后调用该DLL中导出的create函数创建IceBox服务，该服务的配置文件为config.service</span></span></font></span></span>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.cppblog.com/Files/true/IceBoxApp.zip">www.cppblog.com/Files/true/IceBoxApp.zip</a> 
<img src ="http://www.cppblog.com/true/aggbug/128860.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/true/" target="_blank">true</a> 2010-10-07 06:09 <a href="http://www.cppblog.com/true/archive/2010/10/07/128860.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ICE用class的继承方式来表达union类型</title><link>http://www.cppblog.com/true/archive/2010/10/03/128477.html</link><dc:creator>true</dc:creator><author>true</author><pubDate>Sun, 03 Oct 2010 06:31:00 GMT</pubDate><guid>http://www.cppblog.com/true/archive/2010/10/03/128477.html</guid><wfw:comment>http://www.cppblog.com/true/comments/128477.html</wfw:comment><comments>http://www.cppblog.com/true/archive/2010/10/03/128477.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/true/comments/commentRss/128477.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/true/services/trackbacks/128477.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: ICE 模拟 union类型&nbsp;&nbsp;<a href='http://www.cppblog.com/true/archive/2010/10/03/128477.html'>阅读全文</a><img src ="http://www.cppblog.com/true/aggbug/128477.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/true/" target="_blank">true</a> 2010-10-03 14:31 <a href="http://www.cppblog.com/true/archive/2010/10/03/128477.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>卸载IceVisualStudioExtension插件</title><link>http://www.cppblog.com/true/archive/2010/09/29/128064.html</link><dc:creator>true</dc:creator><author>true</author><pubDate>Wed, 29 Sep 2010 08:34:00 GMT</pubDate><guid>http://www.cppblog.com/true/archive/2010/09/29/128064.html</guid><wfw:comment>http://www.cppblog.com/true/comments/128064.html</wfw:comment><comments>http://www.cppblog.com/true/archive/2010/09/29/128064.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/true/comments/commentRss/128064.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/true/services/trackbacks/128064.html</trackback:ping><description><![CDATA[IceVisualStudioExtension是ZeroC开发的VS插件，用来根据ice接口文件自动生成对应语言的代码，用了一段时间，发现如下问题：<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.不稳定，无缘无故的不能自动生成代码<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.在project文件里面写入了ICE的安装目录，多人协同开发的话，需要有相同的路径，这个问题倒是不大<br>还在卸载了，自己手动敲slice2cpp ,slice2cs也不麻烦，也可以用python写个脚步实现该功能<br>
<img src ="http://www.cppblog.com/true/aggbug/128064.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/true/" target="_blank">true</a> 2010-09-29 16:34 <a href="http://www.cppblog.com/true/archive/2010/09/29/128064.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>试用了ICE的AMI</title><link>http://www.cppblog.com/true/archive/2010/09/18/127001.html</link><dc:creator>true</dc:creator><author>true</author><pubDate>Sat, 18 Sep 2010 09:32:00 GMT</pubDate><guid>http://www.cppblog.com/true/archive/2010/09/18/127001.html</guid><wfw:comment>http://www.cppblog.com/true/comments/127001.html</wfw:comment><comments>http://www.cppblog.com/true/archive/2010/09/18/127001.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/true/comments/commentRss/127001.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/true/services/trackbacks/127001.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: ICE 远程过程调用，远程方法调用，缓存系统&nbsp;&nbsp;<a href='http://www.cppblog.com/true/archive/2010/09/18/127001.html'>阅读全文</a><img src ="http://www.cppblog.com/true/aggbug/127001.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/true/" target="_blank">true</a> 2010-09-18 17:32 <a href="http://www.cppblog.com/true/archive/2010/09/18/127001.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>python做web调用ICE服务</title><link>http://www.cppblog.com/true/archive/2010/09/18/126996.html</link><dc:creator>true</dc:creator><author>true</author><pubDate>Sat, 18 Sep 2010 09:26:00 GMT</pubDate><guid>http://www.cppblog.com/true/archive/2010/09/18/126996.html</guid><wfw:comment>http://www.cppblog.com/true/comments/126996.html</wfw:comment><comments>http://www.cppblog.com/true/archive/2010/09/18/126996.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/true/comments/commentRss/126996.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/true/services/trackbacks/126996.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cppblog.com/true/archive/2010/09/18/126996.html'>阅读全文</a><img src ="http://www.cppblog.com/true/aggbug/126996.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/true/" target="_blank">true</a> 2010-09-18 17:26 <a href="http://www.cppblog.com/true/archive/2010/09/18/126996.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ICE终于改进了这两个功能</title><link>http://www.cppblog.com/true/archive/2010/08/01/121892.html</link><dc:creator>true</dc:creator><author>true</author><pubDate>Sun, 01 Aug 2010 11:51:00 GMT</pubDate><guid>http://www.cppblog.com/true/archive/2010/08/01/121892.html</guid><wfw:comment>http://www.cppblog.com/true/comments/121892.html</wfw:comment><comments>http://www.cppblog.com/true/archive/2010/08/01/121892.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/true/comments/commentRss/121892.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/true/services/trackbacks/121892.html</trackback:ping><description><![CDATA[对ice的使用，以前主要集中在3.x版本，发现两点很不方便：<br>1。对于AMI，每次调用，必须提供一个回调CallBack，多个AMI不能用相同的callback。这点在3.4.0里面，解决了，而且提供了更友好的AMI借口<br>2。.ice接口文件中，不能有下划线"_",这点可以说是非常不方便！经常的使用的比如RETURN_WRONG_PASSWORD，只能这样写ReturnWrongPassword。在最新的3.4.1版本中去掉了这个限制。<br>&nbsp;&nbsp;&nbsp;
<img src ="http://www.cppblog.com/true/aggbug/121892.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/true/" target="_blank">true</a> 2010-08-01 19:51 <a href="http://www.cppblog.com/true/archive/2010/08/01/121892.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>