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

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

?? accessconfig.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_ACCESS_CONFIG
#define INCL_ACCESS_CONFIG
/** @cond DEV */

#include "base/fscapi.h"
#include "spds/constants.h"


/*
 * -------------------------- AccessConfig class -----------------------------
 * This class groups all configuration properties to estabilish a
 * connection with a sync server.
 * AccessConfig is a part of SyncManagerConfig (along with DeviceConfig
 * and an array of SyncSourceConfig).
 *
 * Class members:
 * --------------
 * username             : string for username
 * password             : string for password
 * useProxy             : Should the sync engine use a HTTP proxy?
 * proxyHost            : the host for proxy connection
 * proxyPort            : the port for proxy connection
 * proxyUsername        : the proxy username (if proxy needs authentication)
 * proxyPassword        : the proxy password (if proxy needs authentication)
 * beginTimestamp       : The beginSync timestamp
 * endTimestamp         : The endSync timestamp
 * firstTimeSyncMode    : The SyncMode that the sync engine should use
 *                        the first time a source is synced
 * serverNonce          : The server nonce value: from client to server
 * clientNonce          : The client nonce value: from server to client
 * serverID             : the server ID value
 * serverPWD            : the server password
 * clientAuthType       : the type of client authentication used by client
 * isServerAuthRequired : Does the server require authentication?
 * maxMsgSize           : The maximum message size (Byte) accepted for XML
 *                        messages received from server (server to client)
 * readBufferSize       : Specifies the value for the size of the buffer used
 *                        to store the incoming stream from server (byte)
 * userAgent            : The user agent string, will be attached to http
 *                        messages to identify the client on server side.
 *                        It shoud be a short description with the client
 *                        name plus its version
 * checkConn            : Do we need to check if the GPRS connection is available?          <-- **** still used? ****
 * responseTimeout      : The number of seconds of waiting response timeout
 * dirty                : The dirty flag, used to select which properties
 *                        have been modified. Not used by now (T.B.D)
 */
class AccessConfig {
    private:
        char*           username            ;
        char*           password            ;
        BOOL            useProxy            ;
        char*           proxyHost           ;
        int             proxyPort           ;
        char*           proxyUsername       ;
        char*           proxyPassword       ;
        char*           syncURL             ;
        unsigned long   beginTimestamp      ;
        unsigned long   endTimestamp        ;
        SyncMode        firstTimeSyncMode   ;
        char*           serverNonce         ;
        char*           clientNonce         ;
        char*           serverID            ;
        char*           serverPWD           ;
        char*           clientAuthType      ;
        char*           serverAuthType      ;
        BOOL            isServerAuthRequired;
        unsigned long   maxMsgSize          ;
        unsigned long   readBufferSize      ;
        char*           userAgent           ;
        BOOL            checkConn           ;
        unsigned int    responseTimeout     ;
        BOOL            compression         ;

        unsigned int dirty;

        /**
         * Sets the given buffer with the given value, dealing correctly with
         * NULL values. If a NULL value is passed, the empty string is used.
         *
         * @param buf the destination buffer
         * @param v the new value (CAN BE NULL)
         */
        void set(char* * buf, const char*  v);

    public:

        AccessConfig();
        AccessConfig(AccessConfig& s);
        ~AccessConfig();

        /**
         * Returns the username value.
         *
         * @return The username value. The caller MUST NOT release
         *         the memory itself.
         *
         */
        const char*  getUsername() const;

        /**
         *  Sets the username value. The given data are copied in an internal
         *  buffer so that the caller is assured that the given address can be
         *  released after the call.
         *
         *  @param username the new username value
         */
        void setUsername(const char*  username);

        /**
         * Returns the password value.
         */
        const char*  getPassword() const;

        /**
         * Sets a new password value. The given data are copied in an internal
         * buffer so that the caller is assured that the given address can be
         * released after the call.
         *
         * @param password the new password value
         */
        void setPassword(const char*  password);

        /**
         * Returns the SyncMode that the sync engine should use the first time
         * a source is synced
         */
        SyncMode getFirstTimeSyncMode() const;

        /**
         * Sets the SyncMode that the sync engine should use the first time
         * a source is synced
         *
         * @param syncMode the new sync mode
         */
        void setFirstTimeSyncMode(SyncMode syncMode);

        /**
         * Should the sync engine use a HTTP proxy?
         */
        BOOL getUseProxy() const;

        /**
         * Sets if the sync engine should use a HTTP proxy to access the server.
         *
         * @param useProxy FALSE for not use a proxy, TRUE otherwise
         */
        void setUseProxy(BOOL useProxy);

        /**
         * Returns the proxyHost value.
         */
        const char*  getProxyHost() const;

        /**
         * Sets a new proxyHost value.
         *
         * @param proxyHost the new proxyHost value
         */
        void setProxyHost(const char*  proxyHost);

        int getProxyPort() const;
        void setProxyPort(int v);

        /**
         * Returns the proxyUsername value.
         */
        const char* getProxyUsername() const;

        /**
         * Sets a new proxyUsername value.
         *
         * @param proxyUsername the new proxyUsername value
         */
        void setProxyUsername(const char*  proxyUsername);

        /**
         * Returns the proxyPassword value.
         */
        const char* getProxyPassword() const;

        /**
         * Sets a new proxyPassword value.
         *
         * @param proxyPassword the new proxyPassword value
         */
        void setProxyPassword(const char*  proxyPassword);

        /**
         * Returns the syncURL value. If the URL does not start with http://
         * (or HTTP://) or https:// (or HTTPS://), http:// is prepended to the
         * given string.
         */
        const char*  getSyncURL() const;

        /**
         * Sets a new the syncURL value. The given data are copied in an internal
         * buffer so that the caller is assured that the given address can be
         * released after the call.
         *
         * @param syncURL the new syncURL value
         */
        void setSyncURL(const char*  syncURL);

        /**
         * Sets the new "beginSync" timestamp.
         *
         * @param timestamp the beginSync timestamp
         */
        void setBeginSync(unsigned long timestamp);

        /**
         * Returns the beginSync timestamp
         */
        unsigned long getBeginSync() const;

        /**
         * Sets the new "endSync" timestamp.
         *
         * @param timestamp the endSync timestamp
         */
        void setEndSync(unsigned long timestamp);

        /**
         * Returns the endSync timestamp
         */
        unsigned long getEndSync() const;

        BOOL getServerAuthRequired() const;

        void setServerAuthRequired(BOOL v);

        const char*  getClientAuthType() const;

        void setClientAuthType(const char*  v);

        const char*  getServerAuthType() const;

        void setServerAuthType(const char*  v);

        const char*  getServerPWD() const;

        void setServerPWD(const char*  v);

        const char*  getServerID() const;

        void setServerID(const char*  v);

        const char*  getServerNonce() const;

        void setServerNonce(const char*  v);

        const char*  getClientNonce() const;

        void setClientNonce(const char*  v);

        void setMaxMsgSize(unsigned long msgSize);

        unsigned long getMaxMsgSize() const;

        void setReadBufferSize(unsigned long bufferSize);

        unsigned long getReadBufferSize() const;

        const char*  getUserAgent() const;

        void setUserAgent(const char*  v);

        void setCompression(BOOL  v);

        BOOL  getCompression() const;

        //void setCompression(BOOL v);


        void setCheckConn(BOOL v);
        BOOL getCheckConn() const;

        void setResponseTimeout(unsigned int bufferSize)   ;
        unsigned int getResponseTimeout() const            ;

        /**
         * Has some of this values changed?
         */
        unsigned int getDirty() const;

        /**
         * Sets the values of this object with with the values from the given
         * AccessConfig source object.
         *
         * @param config the new value.
         */
        void assign(const AccessConfig& s);

        /*
         * Assign operator
         */
        AccessConfig& operator = (const AccessConfig& ac) {
            assign(ac);
            return *this;
        }

};

/** @endcond */
#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人福利视频在线看| 国产99久久久国产精品| 激情深爱一区二区| 成人国产在线观看| 中文字幕不卡三区| 日韩无一区二区| 免费在线观看一区二区三区| 亚洲人成亚洲人成在线观看图片| 99精品视频在线观看| 中文字幕在线观看不卡| 日韩精品一区二区三区视频| 欧洲在线/亚洲| eeuss鲁一区二区三区| 国产自产v一区二区三区c| 精品乱码亚洲一区二区不卡| 欧美午夜精品久久久久久超碰 | 亚洲精品在线观| 一本久久a久久免费精品不卡| 亚洲综合一区在线| 日韩一区欧美一区| 国产农村妇女毛片精品久久麻豆 | 国产在线精品一区二区三区不卡| 久久免费午夜影院| 欧美一区二区三区免费大片| 色av一区二区| 97精品国产露脸对白| 亚洲一区二区三区中文字幕| 国产精品理论在线观看| 日本黄色一区二区| 91丨九色丨蝌蚪富婆spa| 大桥未久av一区二区三区中文| 亚洲蜜臀av乱码久久精品| 国产精品麻豆欧美日韩ww| 久久九九久精品国产免费直播| 在线看日本不卡| 色综合中文综合网| 亚洲午夜久久久久中文字幕久| 欧美一区二区免费视频| 欧美色网一区二区| 欧美三级在线看| 欧美在线综合视频| 欧美日韩一区二区三区四区| 欧美日韩黄色影视| 欧美男女性生活在线直播观看| 美女精品一区二区| 蜜臀av一区二区| 久久er99热精品一区二区| 激情久久久久久久久久久久久久久久| 欧美激情中文字幕一区二区| 日本一区二区动态图| 国产精品网站在线观看| 91精品国产91热久久久做人人| 国产毛片精品视频| 亚洲一二三四在线| 丝袜美腿一区二区三区| 免费成人在线观看| 精品一区二区在线视频| 国产suv精品一区二区6| 99国产精品国产精品久久| 色天使色偷偷av一区二区| 欧美日韩国产精品自在自线| 成人一区在线观看| 91黄色免费观看| 欧美一区二区三区免费视频| 国产亚洲视频系列| 亚洲色图第一区| 日韩极品在线观看| 国产精品18久久久久久久网站| 青青草97国产精品免费观看无弹窗版 | 日韩国产一二三区| 国产黑丝在线一区二区三区| 色网站国产精品| 91精品国产综合久久精品麻豆| 在线欧美日韩国产| 日韩欧美国产成人一区二区| 亚洲国产高清在线观看视频| 亚洲国产精品自拍| 亚洲一区二区三区在线| 久久99精品国产麻豆不卡| 欧美aaaaaa午夜精品| 成人高清视频在线| 日韩一区二区免费在线观看| 欧美精品日韩精品| 国产精品午夜电影| 日韩电影一区二区三区| 成人教育av在线| 欧美电影一区二区| 国产精品网站在线观看| 中文字幕在线免费不卡| 美女视频黄免费的久久| 95精品视频在线| 色av成人天堂桃色av| 色婷婷综合久久久久中文| 日韩三级av在线播放| 国产精品久久久久久妇女6080| 国产精品狼人久久影院观看方式| 中文字幕免费观看一区| 日韩不卡手机在线v区| av福利精品导航| 精品国产91九色蝌蚪| 亚洲一区二区三区影院| 日韩和欧美一区二区三区| 天堂资源在线中文精品| 99久久精品免费看国产| 久久婷婷一区二区三区| 午夜影视日本亚洲欧洲精品| 播五月开心婷婷综合| 色综合色综合色综合| 国产视频911| 国内外成人在线| 91精品国产欧美一区二区18| 精品日韩成人av| 亚洲成人在线免费| 久久精品免费看| 欧美视频中文字幕| 亚洲色图欧美激情| 成人黄色电影在线| 欧美日韩卡一卡二| 一区二区三区免费| 99久久伊人精品| 91精品国产高清一区二区三区蜜臀| 欧美电影免费观看完整版| 五月天激情小说综合| 欧美性猛交xxxx乱大交退制版| 日韩精品一区二区在线观看| 精品日韩在线观看| 美女在线视频一区| 欧美一区国产二区| 亚洲一二三四久久| 欧美在线免费播放| 国产午夜精品理论片a级大结局| 亚洲青青青在线视频| 看国产成人h片视频| 欧美大片在线观看| 黄色成人免费在线| 亚洲精品一区二区三区四区高清 | 日韩 欧美一区二区三区| 欧美日韩一区精品| 亚洲电影你懂得| 91精品久久久久久蜜臀| 国产精品伦一区二区三级视频| 一区二区三区日韩欧美精品| 色一区在线观看| 国产性天天综合网| 国产成人aaaa| 亚洲免费在线播放| 欧美高清www午色夜在线视频| 欧美激情中文字幕一区二区| www.日韩大片| 尤物在线观看一区| 欧美丰满少妇xxxxx高潮对白| 亚洲欧洲日韩女同| 日本道免费精品一区二区三区| 国产情人综合久久777777| 日本欧美久久久久免费播放网| 色婷婷亚洲综合| 日韩精品一区第一页| 日韩久久久精品| 亚洲a一区二区| 日韩欧美一级二级三级久久久| 一区二区三区在线高清| 欧美日韩一区二区三区在线| 久久疯狂做爰流白浆xx| 中文在线资源观看网站视频免费不卡| 免费一区二区视频| 国产欧美日韩精品一区| 91精彩视频在线| 久久精品国产999大香线蕉| 中文一区在线播放| 欧美撒尿777hd撒尿| 经典三级一区二区| 亚洲乱码中文字幕| 精品国产免费一区二区三区香蕉| 日韩在线观看一区二区| 久久久久成人黄色影片| 91官网在线观看| 精品一区二区综合| 欧美成人女星排名| 日本在线播放一区二区三区| 国产女同性恋一区二区| 欧美日韩视频在线第一区| 亚洲一区二区在线免费看| 久久亚洲精华国产精华液 | 青青草成人在线观看| 国产精品久久久久一区 | 日日夜夜免费精品视频| 久久久九九九九| 欧美日韩日日夜夜| 国产精品影视天天线| 日韩和欧美的一区| 亚洲视频在线一区| 26uuu国产电影一区二区| 国产一区二区三区免费在线观看| 久久伊人蜜桃av一区二区| 91久久一区二区| 成年人国产精品| 久久成人免费网| 亚洲成人黄色影院| 国产精品美女久久久久久2018| 91在线porny国产在线看|