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

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

?? syncmlprocessor.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_SYNCML_PROCESSOR
    #define INCL_SYNCML_PROCESSOR
/** @cond DEV */

    #include "base/util/ArrayList.h"
    #include "base/util/XMLProcessor.h"
    #include "spds/SyncSource.h"
    #include "spds/SyncItem.h"
    #include "spds/SyncItemStatus.h"
    #include "syncml/core/TagNames.h"
    #include "syncml/core/ObjectDel.h"
    #include "syncml/parser/Parser.h"
    #include "spds/SyncReport.h"

    /*
     * This class is responsible for the processing of the incoming messages.
     */

    class __declspec(dllexport) SyncMLProcessor : public XMLProcessor {

    private:

        /*
         * It include the common part of getSyncHdrStatusCode and getAlertStatusCode
         */
        int getStatusCode(SyncBody* syncBody, SyncSource* source, const char* commandName);
        /*
         * Returns the status code for the SyncHeader command included
         * in the message sent by the client.
         *
         * @param syncBody - the SyncBody content
         */
        int getSyncHeaderStatusCode(Status* s);
        /*
         * Returns the status code for the Alert relative to the given source.
         *
         * @param syncBody - the SyncBody content
         * @param sourceName - the name of the source
         */
        int getAlertStatusCode(Status* status, const char*  sourceName);

        /*
        * Return the command of the given commandName
        */
        AbstractCommand* getCommand(SyncBody* syncBody, const char* commandName, int index);

         /*
        * To get a generic array element. It returns the <index> arrayElement it founds.
        * 0-based.
         */
        ArrayElement* getArrayElement(ArrayList* list, int index);

    public:

        /*
         * Constructor
         */
        SyncMLProcessor();

        /*
        * Process a generic syncml message and return a SyncML object
        */
        SyncML* processMsg(char*  msg);

        /*
         * Processes the initialization response. Returns 0 in case of success, an
         * error code in case of error.
         *
         * @param msg the response from the server
         */
        int processInitResponse(SyncSource& source, SyncML* syncml, Alert* alert);

        int processSyncHdrStatus(SyncML* syncml);
        int processAlertStatus(SyncSource& source, SyncML* syncml, ArrayList* alerts);

        int processServerAlert(SyncSource& source, SyncML* syncml);
        /*
        * Get the chal from a syncBody object. It is used to get the auth type and next nonce if needed
        */
        Chal* getChal(SyncBody* syncBody);

        /*
        * Get server credential. It is used by the SyncManager to get the server credentials and check them
        */
        Cred* getServerCred(SyncHdr* syncHdr);


        /*
         * Process the SyncBody and looks for the item status of the sent items.
         * It calls the setItemStatus method of the sync source.
         */
        int processItemStatus(SyncSource& source, SyncBody* syncBody);

        /*
         * Processes the response and get the Sync command of the given source
         *
         * @param source the source
         * @param syncml the syncML Object the response from the server
         */
        Sync* processSyncResponse(SyncSource& source, SyncML* syncml);

        /*
         * Processes the map message response. Returns 0 in case of success.
         * Currently it return always 0. TBD
         *
         * @param source the source
         * @param msg the response from the server
         */
        int processMapResponse(SyncSource& source, SyncBody* syncBody);

        /*
         * Returns the SyncHeader/RespURI element of the given message. If the element is not
         * found it returns NULL. The returned respURI is allocated with the new operator
         * and must be discarded with delete by the caller.
         *
         * @param msg - the SyncHdr message - NOT NULL
         */
        const char* getRespURI(SyncHdr* msg);

        /*
         * Returns an ArrayList containing the command given by commandName. It uses the getCommand method
         */
        ArrayList* getCommands(SyncBody* syncBody, const char* commandName);

        /* To retrieve a (NULL terminated) list of source names from list of Alert commands from server.
         * @return: a new array of source names (NULL terminated) - must be freed by the caller.
         */
        char** getSortedSourcesFromServer(SyncML* syncml, int sourcesNumber);

        /* To retrieve a Sync pointer from ArrayList of Sync objects.
         * It gets the order like the server sends
         */
        Sync* getSyncResponse(SyncML* syncml, int index);
    };

/** @endcond */
#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美系列在线观看| 中文字幕一区二区三区在线不卡| 色噜噜久久综合| a级高清视频欧美日韩| 国产91富婆露脸刺激对白| 国产一区二区伦理| 国产真实乱偷精品视频免| 久久99久国产精品黄毛片色诱| 日韩精品欧美精品| 奇米精品一区二区三区在线观看| 日韩在线观看一区二区| 日本三级亚洲精品| 久久精品国产一区二区三| 久久99久久久久| 国产一区二区看久久| 国产高清不卡二三区| 懂色av中文字幕一区二区三区| 国产成人精品免费在线| 国产精品亚洲一区二区三区妖精| 国产91富婆露脸刺激对白| 成人国产免费视频| 色呦呦日韩精品| 欧美日韩久久不卡| 欧美大片一区二区| 久久精品在线观看| 国产精品成人网| 夜夜精品浪潮av一区二区三区| 夜夜亚洲天天久久| 美女www一区二区| 国产成人精品免费| 一本色道久久综合亚洲aⅴ蜜桃| 欧美视频在线播放| 精品国产欧美一区二区| 中文字幕第一页久久| 亚洲人成网站精品片在线观看 | 一区二区三区av电影| 亚洲欧美视频在线观看| 亚洲黄色小视频| 美女网站色91| 不卡av电影在线播放| 91激情五月电影| 精品av久久707| 欧美亚洲日本一区| 成人精品免费视频| 久久精品国产**网站演员| 国产精品嫩草99a| 欧美tickling挠脚心丨vk| 99久久精品国产精品久久| 日本不卡中文字幕| 亚洲综合久久av| 国产精品传媒入口麻豆| 日韩欧美的一区二区| 在线精品视频一区二区| 粉嫩一区二区三区性色av| 日韩和欧美一区二区| 亚洲欧美日韩系列| 国产夜色精品一区二区av| 欧美一区二区三区喷汁尤物| 91免费小视频| 成人一区二区三区在线观看| 男人的j进女人的j一区| 亚洲一区二区黄色| 1024国产精品| 国产精品色婷婷| 国产日韩欧美在线一区| 精品国产不卡一区二区三区| 欧美午夜精品久久久| 色婷婷国产精品| 色综合一区二区| 不卡一区中文字幕| 国产成+人+日韩+欧美+亚洲| 精品亚洲国内自在自线福利| 日本欧美在线观看| 悠悠色在线精品| 亚洲视频你懂的| 亚洲免费资源在线播放| 一色屋精品亚洲香蕉网站| 国产女人18水真多18精品一级做| 日韩免费高清视频| 日韩精品在线网站| www国产成人| 久久女同精品一区二区| 日韩欧美一二区| 久久亚洲影视婷婷| 国产亚洲一本大道中文在线| 久久久久久电影| 日本一区免费视频| 中文字幕视频一区二区三区久| 亚洲国产精品黑人久久久| 国产精品网站在线观看| 国产精品伦一区| 亚洲欧美二区三区| 亚洲国产精品久久艾草纯爱| 五月激情丁香一区二区三区| 日日夜夜免费精品| 麻豆91小视频| 丁香婷婷深情五月亚洲| 成人av免费观看| 欧美性大战久久久| 欧美一区三区四区| 久久久国产一区二区三区四区小说 | 国产精品色呦呦| 亚洲男人天堂一区| 亚洲成人先锋电影| 久久国产精品第一页| 懂色av一区二区三区免费观看| 不卡视频在线看| 在线观看日韩国产| 精品久久人人做人人爰| 国产女人aaa级久久久级| 一区二区三区四区乱视频| 丝袜美腿一区二区三区| 国产在线一区二区综合免费视频| 99综合电影在线视频| 欧美久久婷婷综合色| 久久久夜色精品亚洲| 亚洲精品免费视频| 麻豆国产欧美日韩综合精品二区| 国产精品小仙女| 欧美色区777第一页| 久久奇米777| 伊人夜夜躁av伊人久久| 美女脱光内衣内裤视频久久影院| 成人高清视频在线| 欧美一级片在线观看| 国产精品成人一区二区艾草 | 97久久精品人人爽人人爽蜜臀| 欧美日韩国产成人在线91| 国产性做久久久久久| 五月天丁香久久| av在线不卡观看免费观看| 欧美videofree性高清杂交| 亚洲猫色日本管| 国产精品18久久久| 欧美日本一区二区三区四区| 国产精品久久三区| 极品美女销魂一区二区三区免费| 欧美影视一区在线| 中文无字幕一区二区三区| 高清成人免费视频| 欧美一区二区三区性视频| 亚洲情趣在线观看| 国产成人免费在线观看不卡| 日韩一区二区三区免费看 | 亚洲综合视频网| 成人精品一区二区三区四区 | 一区二区视频在线| 国产v综合v亚洲欧| 欧美videossexotv100| 偷拍自拍另类欧美| 在线观看视频一区| 亚洲免费视频成人| 成人精品一区二区三区中文字幕| 精品国产一区二区国模嫣然| 日韩精品免费专区| 欧美日韩电影在线播放| 樱桃视频在线观看一区| 99精品热视频| 国产精品污网站| 成人av动漫网站| 国产精品私房写真福利视频| 国产一区二区三区四| 日韩精品中文字幕在线不卡尤物| 午夜伦理一区二区| 欧美日韩综合一区| 亚洲综合免费观看高清完整版在线| av影院午夜一区| 日韩美女精品在线| 91视频一区二区三区| 国产精品久久久久久久蜜臀| 成人蜜臀av电影| 国产精品成人一区二区三区夜夜夜| 粉嫩一区二区三区在线看| 国产精品欧美一级免费| 成人精品在线视频观看| 国产精品成人免费| 91视视频在线观看入口直接观看www | 91激情五月电影| 亚洲自拍偷拍麻豆| 欧美日本一区二区| 日本sm残虐另类| www精品美女久久久tv| 国产福利91精品一区| 国产精品国产自产拍高清av| av一二三不卡影片| 一区二区三区免费看视频| 欧美日韩一区高清| 久久国产婷婷国产香蕉| 欧美国产日本韩| 色美美综合视频| 午夜伦欧美伦电影理论片| 欧美v亚洲v综合ⅴ国产v| 国产精品一区久久久久| 国产精品美女久久久久久久久| 色呦呦网站一区| 免费观看成人av| 国产精品丝袜一区| 色婷婷国产精品久久包臀| 喷白浆一区二区| 国产精品视频第一区|