快樂(lè)地耕耘著

          上帝說(shuō)要有光

          常用鏈接

          統(tǒng)計(jì)

          最新評(píng)論

          20060524 Work plan

          今日計(jì)劃:
          將Socket to Socket transfer 部分的代碼做一個(gè)小結(jié)。
          首先清楚where are we first.
          最核心的功能部分已經(jīng)完成。已作完了主要功能的測(cè)試。Request direct transfer and Response direct transfer都已完成(HTTPClient部分是基于NBIO persistence的) 還需要將基于NBIO部分的功能補(bǔ)進(jìn)來(lái)。預(yù)計(jì)時(shí)間今天上午。仔細(xì)想想不忙,先將出錯(cuò)處理部分以及configure 部分補(bǔ)全然后測(cè)試完成再在NBIO部分上補(bǔ)齊功能都可以,這個(gè)計(jì)劃看起來(lái)更好一點(diǎn)。

          然后將STS超時(shí)檢測(cè)機(jī)制要做出來(lái)。無(wú)非是判斷是否timeout 然后調(diào)用abortTransfer() 方法即可。? 預(yù)計(jì)時(shí)間2個(gè)小時(shí)。 let's start with Error processing

          Distracted by the Persistence code?, only half day lefted .
          Now something was clarified. when HttpClient Socket Channel is wirte channel?and some error happened during Request transfer I need to invoke processError to make sure error get logged in both CDR file and SYS log file and Error response will be sent out to client. but if error happen during response transfer operation, actually a success access entry already write to CDR ?file it's meanless to send another error response back and add a failed access entry into it. So just close the opened socket channel is enough.

          posted on 2006-05-24 12:00 勤天 閱讀(152) 評(píng)論(0)  編輯  收藏


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 奈曼旗| 沙河市| 疏勒县| 双牌县| 义马市| 通辽市| 七台河市| 东乡| 万全县| 当涂县| 恩施市| 宣汉县| 蓬安县| 天全县| 商丘市| 上犹县| 杭州市| 吉安市| 鄂伦春自治旗| 宁阳县| 太仆寺旗| 合水县| 张家界市| 拜泉县| 镇巴县| 沂水县| 灵石县| 九寨沟县| 松原市| 广元市| 和静县| 鄂伦春自治旗| 兖州市| 镇沅| 鹰潭市| 鄱阳县| 宜城市| 得荣县| 通州区| 高雄县| 顺平县|