• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            socketref,再見!高德

            https://github.com/adoggie

              C++博客 :: 首頁 :: 聯系 :: 聚合  :: 管理
              246 Posts :: 4 Stories :: 312 Comments :: 0 Trackbacks

            常用鏈接

            留言簿(54)

            我參與的團隊

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            為了解決公共網絡與私有網絡的穿透問題,Ice提出了在單個tcp連接上的雙向傳輸方式
            一直以來對于Server端主動發送Rpc請求到Client端的應用我就一直很小心的使用bidirection方式,甚至是徹底不用,
            因為通過驗證發覺要使用bid則必須關閉ACM管理,也就意味著這個tcp連接是個長連接,只有在這個長連接上server才能
            發起對客戶端的rpc調用,但如果連接斷了呢,client到server的rpc請求很簡單,ice會重新發起連接,但之后的server到client的
            rpc請求就不行了,這樣必須要求client再次初始化bid操作:
            1 proxy->ice_getConnection()->setAdapter(adapter);
            2 proxy->addClient(ident);
            這個也太可怕了,Ice是不要求客戶直接管理底層的通信連接細節的,所以客戶不容易知道是否被重新連接
            所以這個咚咚我個人覺得是雞肋,不知大家如何看同

            Limitations
            Bidirectional connections have certain limitations:
            • They can only be configured for connection-oriented transports such as TCP and SSL.
            1168 Connection Management
            • Most proxy factory methods have no effect on a proxy created by a connection’s
            createProxy operation. The proxy is bound to an existing connection,
            therefore the proxy reflects the connection’s configuration. For example, it is
            not possible to change the timeout value of such a proxy. Similarly, it is not
            possible to change the proxy’s security configuration: if the incoming connection
            is secure, then the proxy must be secure, and cannot be changed to be
            insecure. However, it is legal to change between oneway and twoway invocations.
            • A connection established from a Glacier2 router to a server is not configured
            for bidirectional use. Only the connection from a client to the router is bidirectional.
            However, the client must not attempt to manually configure a bidirectional
            connection to a router, as this is handled internally by the Ice run time.
            • Bidirectional connections are not compatible with active connection management
            (see Section 37.4).

            posted on 2009-06-23 03:17 放屁阿狗 閱讀(2658) 評論(2)  編輯 收藏 引用 所屬分類: Ice/xmlrpc

            Feedback

            # re: Ice:: 一直不敢用Bidirectional的雙向調用 2009-06-23 10:28 webscada@163.com
            的確是雞肋啊,所以才有了glacier2  回復  更多評論
              

            # re: Ice:: 一直不敢用Bidirectional的雙向調用 2009-06-23 13:12 eXile
            對,用glacier2   回復  更多評論
              

            精品国产91久久久久久久 | 久久国产成人精品国产成人亚洲| 亚洲人成无码网站久久99热国产 | 99热成人精品免费久久| 久久996热精品xxxx| 无码人妻久久一区二区三区蜜桃 | 久久久亚洲欧洲日产国码是AV| 久久久无码精品亚洲日韩京东传媒| 久久中文骚妇内射| 久久99精品久久久久久水蜜桃| 久久精品卫校国产小美女| 久久国产精品-久久精品| 亚洲欧美日韩久久精品| 久久噜噜电影你懂的| 久久精品国产男包| 欧美激情精品久久久久久久九九九 | 青青草原1769久久免费播放| 一级做a爰片久久毛片免费陪| 久久线看观看精品香蕉国产| 精品伊人久久大线蕉色首页| 91精品国产高清久久久久久国产嫩草| 中文字幕精品久久| 精品免费久久久久国产一区| AV无码久久久久不卡蜜桃| 性做久久久久久久| 一本久道久久综合狠狠爱| 最新久久免费视频| 亚洲国产精品成人久久蜜臀 | 亚洲精品高清久久| 99久久免费国产精品热| 色欲综合久久中文字幕网| 久久精品国产精品亚洲精品 | 狠狠色婷婷久久综合频道日韩 | 久久精品国产亚洲AV无码麻豆 | 老司机午夜网站国内精品久久久久久久久| 久久精品国产亚洲AV麻豆网站| 精品久久久无码21p发布| 亚洲va中文字幕无码久久不卡| 亚洲午夜久久久影院伊人| 久久精品国产99久久久古代| 亚洲AV无码久久精品成人|