• <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++博客 :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
              246 Posts :: 4 Stories :: 312 Comments :: 0 Trackbacks

            常用鏈接

            留言簿(54)

            我參與的團隊

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

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

            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 放屁阿狗 閱讀(2653) 評論(2)  編輯 收藏 引用 所屬分類: Ice/xmlrpc

            Feedback

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

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

            久久免费精品一区二区| 国产99久久久国产精品小说| 久久夜色精品国产网站| 亚洲国产精久久久久久久| 久久精品国产WWW456C0M| 中文精品久久久久人妻| 99久久久精品| 亚洲国产精品成人久久蜜臀| 色欲av伊人久久大香线蕉影院| 国产精品一久久香蕉国产线看观看| 久久久久免费精品国产| 久久婷婷人人澡人人爽人人爱| 久久综合九色综合97_久久久| 欧美亚洲国产精品久久高清| 97超级碰碰碰碰久久久久| 久久精品天天中文字幕人妻| 色偷偷88欧美精品久久久| 亚洲一本综合久久| 久久精品国产亚洲AV嫖农村妇女| 久久久久无码国产精品不卡| 99国产精品久久久久久久成人热| 国产一区二区久久久| 久久se精品一区二区影院| www.久久热| 亚洲中文久久精品无码| 一本一道久久a久久精品综合| 亚洲国产精品久久久久网站| 九九精品99久久久香蕉| 男女久久久国产一区二区三区| 日韩欧美亚洲国产精品字幕久久久| 日本道色综合久久影院| 久久久精品人妻一区二区三区四| 性做久久久久久久久老女人| 久久精品国产亚洲5555| 久久99久久无码毛片一区二区| 99久久精品国产一区二区蜜芽| 91麻豆精品国产91久久久久久| 麻豆精品久久精品色综合| 99精品伊人久久久大香线蕉| 国产精品天天影视久久综合网| 久久久久亚洲av无码专区喷水|