亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ctpconfig.h

?? funambol windows mobile plugin source code, the source code is taken from the funambol site
?? H
字號:
/*
 * Copyright (C) 2003-2007 Funambol, Inc
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY, TITLE, NONINFRINGEMENT or FITNESS FOR A PARTICULAR
 * PURPOSE.  See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 * 02111-1307  USA
 */

#ifndef INCL_CTP_CONFIG
    #define INCL_CTP_CONFIG
/** @cond DEV */
    
    #include "stdio.h"     
    #include <stdio.h>
    #include <windows.h>
    #include "client/DMTClientConfig.h"
    #include "spdm/ManagementNode.h"
    #include "spdm/DMTreeFactory.h"
    #include "spdm/DMTree.h"
    #include "pim/SettingFunctions.h"

    #include <string>
    
    using namespace std;           
    
    class CTPConfig : public DMTClientConfig{

    private:
        
        /**
        * This key enables the push feature. It is a bitmask, 
        * with bit 0 enabling the STP and bit 1 enabling the CTP.
        * 0: None
        * 1: STP
        * 2: CTP
        * 3: STP with fallback CTP
        */
        int push;

        /**
        * This key enables the polling feature if the value is 
        * greater than 0, otherwise the polling is disabled.
        */
        int polling;
        
        /**
        * Enable or disable the feature of storing the pending 
        * push requests during a sync.
        */
        bool queuePush;

        /**
        * The time interval, in seconds, after which the 
        * client will restore the connection.
        */
        int ctpRetry;

        /**
        * The time interval, in seconds, for the maximum 
        * retry timeout (see failure handling).
        */
        int maxCtpRetry;
        
        /**
        * The time, in seconds, for which the client 
        * shall wait for the server response, after sending a command.        
        */
        int ctpCmdTimeout;
        
        /**
        * The time, in seconds, for which the connection with 
        * the server shall be kept open once it has been established. 
        * A value of zero indicates that the connection must be 
        * kept open forever.
        */
        int ctpConnTimeout;

        /**
        * TCP/IP port used by the server to listen for CTP requests. 
        */
        int ctpPort;

        /**
        * the nonce used for the MD5 auth. The nonce is sent by the server
        * in b64 encoding. It is read and saved to the registry in this
        * way.
        */
        string ctpNonce;

        /**
        * The interval of the heartbeat
        */
        int ctpReady;

        /**
        * The url to contact. From DM
        */
        string urlTo;
        
        /**
        * The url populated after a JUMP server command.
        * it is in format <(ipAddress|address):port>
        */
        string urlFrom;
        
        /**
        * The device id. From DM
        */
        string devid;

        /**
        * The username. From DM
        */
        string username;

        /// 'true' when we're closing the CTP connection.
        bool leavingState;

        
        void setUsername(string v) { username = v; }
        void setDeviceId(string v) { devid = v; }


    public:        
        
        /**
        * Constructor
        */
        CTPConfig(const char* application_uri);
        
        /**
        * Destructor
        */
        ~CTPConfig();

        /**
        * Read the parameter configuration from the registry
        */
        void readCTPConfig();
        
        /**
        * Save the parameter configuration to the registry.
        * Actually the only needed parameter to be saved is the
        * nonce sent by the server
        */
        void saveCTPConfig();
        
        /**
        * set/get method for push parameter
        */
        void setPush(int v) { push = v; }
        int getPush() { return push; }

        /**
        * set/get method for polling parameter
        */
        int getPolling() { return polling; }
        void setPolling(int v) { polling = v; }
        
        /**
        * set/get method for queuePush parameter
        */
        bool getQueuePush()       { return queuePush; }
        void setQueuePush(bool v) { queuePush = v; }
        
        /**
        * set/get method for ctpRetry parameter
        */
        int getCtpRetry() { return ctpRetry; }
        void setCtpRetry(int v) { ctpRetry = v; }
        
        /**
        * set/get method for maxCtpRetry parameter
        */
        int getMaxCtpRetry() { return maxCtpRetry; }
        void setMaxCtpRetry(int v) { maxCtpRetry = v; }
        
        /**
        * set/get method for ctpCmdTimeout parameter
        */
        int getCtpCmdTimeout() { return ctpCmdTimeout; }
        void setCtpCmdTimeout(int v) { ctpCmdTimeout = v; }
        
        /**
        * set/get method for ctpConnTimeout parameter
        */
        int getCtpConnTimeout() { return ctpConnTimeout; }
        void setCtpConnTimeout(int v) { ctpConnTimeout = v; }
        
        /**
        * set/get method for ctpPort parameter
        */
        int getCtpPort() { return ctpPort; }
        void setCtpPort(int v) { ctpPort = v; }
        
        /**
        * set/get method for ctpReady parameter
        */
        int getCtpReady() { return ctpReady; }
        void setCtpReady(int v) { ctpReady = v; }
        
        /**
        * set/get method for ctpNonce parameter
        */
        string& getCtpNonce() { return ctpNonce; }
        void setCtpNonce(string v) { ctpNonce = v; }

        /**
        * set/get method for urlTo parameter
        */
        string& getUrlTo() { return urlTo; }
        void setUrlTo(string v) { urlTo = v; }

        /**
        * set/get method for urlFrom parameter
        */
        string& getUrlFrom() { return urlFrom; }
        void setUrlFrom(string v) { urlFrom = v; }

        /**
        * get method for username parameter
        */
        string& getUsername() { return username; }
        
        /**
        * get method for deviceId parameter
        */
        string& getDeviceId() { return devid; }
        

        /**
        * get the host name form the url
        */
        string getHostName(string syncUrl);
        
        /**
        * get the host port form the url. If the port doesn't exist
        * it return 0
        */
        int getHostPort(string syncUrl);


        /// Set/get the leaving state flag.
        bool isLeavingState() { return leavingState; }
        void setLeavingState(bool v) { leavingState = v; }
               
    };

    
/** @endcond */
#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品69毛片高清亚洲| 91亚洲国产成人精品一区二区三| 亚洲激情图片qvod| 丝袜美腿亚洲色图| 精品亚洲aⅴ乱码一区二区三区| 国产一区二区不卡在线| 色综合咪咪久久| 日韩亚洲欧美高清| 中文字幕一区二区三区av| 日本伊人精品一区二区三区观看方式 | 884aa四虎影成人精品一区| 精品国精品国产| 2023国产精品视频| 亚洲黄一区二区三区| 国产片一区二区三区| 国产精品看片你懂得| 91视频www| 亚洲一区在线视频观看| 777午夜精品免费视频| 中文字幕日韩av资源站| av在线一区二区| 亚洲一区二区三区小说| 欧美精品粉嫩高潮一区二区| 免费成人美女在线观看.| 91麻豆精东视频| 亚洲美女精品一区| 99国产精品一区| 蜜臀久久99精品久久久久久9| 欧美成人a∨高清免费观看| 91久久精品国产91性色tv | 欧美性生活大片视频| 久久久影院官网| 国产乱人伦偷精品视频不卡 | 色狠狠一区二区三区香蕉| 麻豆91在线看| 欧美女孩性生活视频| 亚洲视频图片小说| 国产高清精品久久久久| 欧美mv和日韩mv的网站| 午夜精品福利在线| 在线观看国产一区二区| 国产精品电影一区二区| 国产一区中文字幕| 欧美变态凌虐bdsm| 日本美女视频一区二区| 成人精品鲁一区一区二区| 久久久午夜电影| 亚洲一区二区3| 色av成人天堂桃色av| 欧美不卡一区二区三区四区| 免费av成人在线| 国产高清久久久久| 亚洲免费观看在线观看| 国产精品九色蝌蚪自拍| 久久久久97国产精华液好用吗| 中文字幕一区二区三区不卡| 久久嫩草精品久久久久| 国产日韩av一区二区| 亚洲精品在线免费播放| 日韩免费看的电影| 日韩欧美国产一二三区| 欧美大片在线观看| 国产午夜一区二区三区| 国产调教视频一区| 亚洲欧洲av一区二区三区久久| 亚洲国产综合在线| 久久久美女毛片| 久久久夜色精品亚洲| 亚洲国产高清在线| 自拍偷在线精品自拍偷无码专区| 久久婷婷国产综合国色天香| 欧美精品久久99久久在免费线| 色吊一区二区三区| 中文字幕亚洲综合久久菠萝蜜| 精品夜夜嗨av一区二区三区| 国产成人免费视| 日韩一区二区精品在线观看| 精一区二区三区| 国产日韩三级在线| eeuss鲁一区二区三区| 亚洲一级二级在线| 欧美日韩成人在线| 九九**精品视频免费播放| 亚洲国产成人自拍| 欧美日韩在线播放一区| 精品一区二区久久| 一区二区在线观看av| 日韩欧美三级在线| av一区二区不卡| 日韩黄色小视频| 日韩欧美成人午夜| 99r国产精品| 久久精品国产色蜜蜜麻豆| 中文字幕在线视频一区| 在线不卡a资源高清| 粉嫩av亚洲一区二区图片| 亚洲bt欧美bt精品| 国产无人区一区二区三区| 成人福利视频网站| 琪琪久久久久日韩精品| 日韩毛片高清在线播放| 日韩亚洲欧美成人一区| 一本久久a久久精品亚洲| 美国十次综合导航| 亚洲欧美日韩系列| 久久精品亚洲麻豆av一区二区| 色94色欧美sute亚洲13| 国产激情一区二区三区| 日韩av一区二区三区| 一区二区三区在线看| 久久精品欧美一区二区三区不卡| 在线精品视频小说1| 成人性生交大片免费看中文网站| 日韩在线一二三区| 亚洲欧美成人一区二区三区| 国产精品免费网站在线观看| 久久女同互慰一区二区三区| 91麻豆精品国产91久久久使用方法| 91视频在线观看免费| 成人免费视频一区| 国产原创一区二区| 亚洲一区中文日韩| 国产精品毛片久久久久久久| 精品国产91洋老外米糕| 日韩一区二区免费在线观看| 欧美二区在线观看| 欧美视频你懂的| 欧美亚洲国产一卡| 在线观看国产日韩| 色菇凉天天综合网| 91亚洲精品久久久蜜桃网站| 91亚洲精华国产精华精华液| 成人一区二区三区| 成a人片国产精品| 99国产精品久久| 日韩免费观看高清完整版| 国产成人精品综合在线观看| 99久久久无码国产精品| 成人免费观看av| 激情图片小说一区| 日本大胆欧美人术艺术动态| 蜜桃精品在线观看| 亚洲一区二区三区四区的| 亚洲精品一区二区三区福利| 色94色欧美sute亚洲13| 精品欧美一区二区三区精品久久| 日韩免费高清av| 亚洲欧美日韩在线不卡| 精品一区二区三区av| 不卡电影免费在线播放一区| 色婷婷av一区二区三区gif| 51精品国自产在线| 国产亲近乱来精品视频 | 自拍偷拍亚洲欧美日韩| 天堂成人免费av电影一区| 国产剧情一区二区三区| 91丝袜呻吟高潮美腿白嫩在线观看| 91搞黄在线观看| 2020国产精品久久精品美国| 亚洲精品成a人| 国产大片一区二区| 欧美日韩色一区| 欧美经典一区二区| 天天影视网天天综合色在线播放| 国产精品一级在线| 欧美久久久久久久久久| 中文字幕日韩欧美一区二区三区| 日韩成人免费看| 一本色道久久综合亚洲91| 久久嫩草精品久久久精品一| 天堂成人免费av电影一区| 91亚洲精品久久久蜜桃| 久久精品亚洲麻豆av一区二区| 亚洲v中文字幕| 91片在线免费观看| 久久精品视频在线看| 日韩精品久久理论片| 色综合久久久久| 欧美极品美女视频| 六月丁香婷婷久久| 欧美福利视频导航| 一区二区三区视频在线看| 北条麻妃国产九九精品视频| 久久精品夜夜夜夜久久| 极品少妇xxxx精品少妇偷拍| 制服丝袜av成人在线看| 亚洲成人免费在线| 色系网站成人免费| 亚洲欧洲国产专区| 国产.欧美.日韩| 国产午夜亚洲精品理论片色戒| 久久99精品国产麻豆婷婷洗澡| 欧美日韩精品一区二区三区| 一区二区在线观看视频在线观看| 99视频国产精品| 中文字幕永久在线不卡| av一区二区三区在线| 国产精品乱人伦| aaa欧美大片| 一区二区三区四区高清精品免费观看 |