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

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

?? cwtpevent.java

?? jwap 協議 udp 可以用于手機通訊
?? JAVA
字號:
/** * JWAP - A Java Implementation of the WAP Protocols * Copyright (C) 2001-2004 Niko Bender * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */package net.sourceforge.jwap.wtp;import net.sourceforge.jwap.util.Logger;/** * * This class represents a service primitive used to communicate between WTP * layer and the layer above (e.g. WSP). Generally are four types of * service primitives: * <ul> *   <li>req (upper -> WTP) - Anounce a request</li> *   <li>ind (WTP -> upper) - Indicate a request by a remote stack</li> *   <li>res (upper -> WTP) - Answer a indication</li> *   <li>cnf (wtp -> upper) - Answer a request</li> * </ul> * The wireless transaction protocol provides the following services * according tp section 5.3 of the specification. * * <ul> *   <li>TR-INVOKE - Used to initiate a new transaction (req, ind, res, cnf) </li> *   <li>TR-RESULT - Used to send back a result of a previously initiated transaction</li> *   <li>TR-ABORT - Used to abort an existing transaction.</li> * </ul> * TR-INVOKE and TR-RESULT are modeled by this class. TR-ABORT is a call of * <code>abort(abordCode)</code> on the corresponding transaction. * Service primitive can be processed by CWTPSocket, that implements the state * machine of the WTP layer or they are used to inform IWTPListeners by the WTP layer. */public class CWTPEvent {    // use these constants to specify the service primitive type    public static final byte TR_INVOKE_REQ = 0x00;    public static final byte TR_INVOKE_IND = 0x01;    public static final byte TR_INVOKE_RES = 0x02;    public static final byte TR_INVOKE_CNF = 0x03;    public static final byte TR_RESULT_REQ = 0x04;    public static final byte TR_RESULT_IND = 0x05;    public static final byte TR_RESULT_RES = 0x06;    public static final byte TR_RESULT_CNF = 0x07;    public static final byte TR_INVOKEDATA_REQ = 0x08;    public static final byte TR_INVOKEDATA_IND = 0x09;    public static final byte TR_INVOKEDATA_RES = 0x0A;    public static final byte TR_INVOKEDATA_CNF = 0x0B;    public static final byte TR_RESULTDATA_REQ = 0x0C;    public static final byte TR_RESULTDATA_IND = 0x0D;    public static final byte TR_RESULTDATA_RES = 0x0E;    public static final byte TR_RESULTDATA_CNF = 0x0F;    public static final String[] types = {        "TR_INVOKE_REQ", "TR_INVOKE_IND", "TR_INVOKE_RES", "TR_INVOKE_CNF",        "TR_RESULT_REQ", "TR_RESULT_IND", "TR_RESULT_RES", "TR_RESULT_CNF",        "TR_INVOKEDATA_REQ", "TR_INVOKEDATA_IND", "TR_INVOKEDATA_RES",        "TR_INVOKEDATA_CNF",        "TR_RESULTDATA_REQ", "TR_RESULTDATA_IND", "TR_RESULTDATA_RES",        "TR_RESULTDATA_CNF"    };    static Logger logger = Logger.getLogger(CWTPEvent.class);    /**     * the service primitive type     */    private byte type;    //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    // Fields used in a TR-Invoke oder TR-Result according to the spec    /**     * Section 5.3.1.6 User Data<br>     * The user data carried by the  WTP protocol (payload).     * WTP layer will submit this data to the destination without changing content.     */    private byte[] userData;    /**     * Section 5.3.1.8 Exit Info<br>     * additional user data to be sent to the originator on transaction completion.     * moredata has to be false and classtype of transacition has to be 1.     */    private byte[] exitInfo = new byte[0];    /**     * Section 5.3.1.9 More Data<br>     * Will there be more invocations of this primitive for the same transaction?     * ext. segmentation and re-assambly has to be used!     */    private boolean moreData;    /**     * Section 5.3.1.10 Frame Boundary<br>     * Is this user data the beginning of a new user defined frame?     * ext. segmentation and re-assambly has to be used!     */    private boolean frameBoundary;    private IWTPTransaction transaction;    //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    /**     * Constructor to construct tr-invoke and tr-result     * <br>(construct Aborts by calling abort(code) on the transaction.     * After this the transaction throws abortedExceptions on calling anything on it.)     *     *     * @param userData Payload/bytes of the upper layer     * @param exitInfo Will there be more invocations of this primitive for the     * same transaction? (available if ext. segmentation and re-assambly used)     * @param moreData  Additional invocations for the same transaction follow     * (available if ext. segmentation and re-assambly used)     * @param frameBoundary specifies a new user defined data frame     * (available if ext. segmentation and re-assambly used)     * @param transaction the transaction the service primitive belongs to.     * @param type the type of this service primitive     * (use constants defined in the class)     */    public CWTPEvent(byte[] userData, byte[] exitInfo, boolean moreData,        boolean frameBoundary, byte type) {        this.userData = userData;        this.exitInfo = exitInfo;        this.moreData = moreData;        this.frameBoundary = frameBoundary;        this.type = type;        //logger.debug("" + types[type]);    }    /**     * Constructor to construct tr-invoke and tr-result<br>     * defaults: moreData = false, no exitInfo, frameBoundary = false     *     * @param userData Payload/bytes of the upper layer     * @param transaction the transaction the service primitive belongs to.     * @param type the type of this service primitive     * (use constants defined in the class)     */    public CWTPEvent(byte[] userData, byte type) {        this.userData = userData;        this.moreData = false;        this.frameBoundary = false;        this.type = type;        logger.debug("[3] create CWTPEvent/prepare WTP Service Primitive:" + types[type]);    }    /////////////////////////////////////////////////////////////////////////////    //////////////////////////////// SET/GET ////////////////////////////////////    public byte getType() {        return type;    }    public void setType(byte type) {        this.type = type;    }    public byte[] getUserData() {        return userData;    }    public void setUserData(byte[] userData) {        this.userData = userData;    }    public byte[] getExitInfo() {        return exitInfo;    }    public void setExitInfo(byte[] data) {        this.exitInfo = data;    }    public boolean getMoreData() {        return moreData;    }    public void setMoreData(boolean moreData) {        this.moreData = moreData;    }    public boolean getFrameBoundary() {        return frameBoundary;    }    public void setFrameBoundary(boolean boundary) {        this.frameBoundary = boundary;    }    public IWTPTransaction getTransaction() {        return transaction;    }    public void setTransaction(IWTPTransaction transaction) {        this.transaction = transaction;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
蜜桃精品视频在线| 亚洲成人免费观看| 亚洲精品一区二区三区在线观看| 欧美日韩精品系列| 欧美亚洲一区二区在线观看| 欧美亚洲国产一卡| 欧美日本国产一区| 日韩丝袜美女视频| 久久先锋影音av鲁色资源| 久久久久久免费网| 国产精品高潮呻吟久久| 亚洲精品国产无天堂网2021| 亚洲国产日韩a在线播放性色| 亚洲成人av电影在线| 三级欧美韩日大片在线看| 首页欧美精品中文字幕| 久久成人免费电影| 成人动漫一区二区| 欧美少妇bbb| 亚洲精品一区二区三区香蕉| 国产精品入口麻豆九色| 一级精品视频在线观看宜春院| 五月婷婷久久丁香| 国产一区999| 欧美专区在线观看一区| 26uuu欧美| 亚洲欧美日韩系列| 另类小说图片综合网| 国产在线国偷精品免费看| 亚洲乱码国产乱码精品精的特点 | 久久国产精品99久久人人澡| 久久国产精品无码网站| 99麻豆久久久国产精品免费| 色菇凉天天综合网| 亚洲精品一区二区三区蜜桃下载| 综合久久久久久| 久久国产精品露脸对白| 色婷婷香蕉在线一区二区| 日韩亚洲国产中文字幕欧美| 亚洲欧洲精品一区二区三区不卡| 欧美aaa在线| 色婷婷亚洲一区二区三区| 久久五月婷婷丁香社区| 亚洲高清免费观看| www.欧美日韩| 久久影院午夜论| 日韩成人伦理电影在线观看| 成人精品视频一区二区三区| 91麻豆精品国产91| 亚洲欧美偷拍卡通变态| 国产福利一区二区| 日韩欧美国产电影| 亚洲一区二区黄色| av在线不卡免费看| 中文一区二区完整视频在线观看| 蜜芽一区二区三区| 欧美亚洲国产一区二区三区| 一色屋精品亚洲香蕉网站| 精品一区二区三区在线播放视频| 欧美在线免费视屏| 亚洲色图在线视频| 99视频一区二区| 中文字幕欧美日本乱码一线二线| 日本va欧美va精品发布| 欧美日韩中文字幕一区二区| 亚洲天堂成人在线观看| 99久久免费精品高清特色大片| 国产女人18水真多18精品一级做| 久久99精品久久久久婷婷| 欧美一区日本一区韩国一区| 日韩中文字幕1| 欧美一区永久视频免费观看| 日韩高清国产一区在线| 欧美日韩1区2区| 日韩和欧美的一区| 日韩亚洲欧美一区| 精品一区二区三区欧美| 精品国产乱码久久久久久免费| 激情综合色综合久久综合| 欧美成人性福生活免费看| 黑人精品欧美一区二区蜜桃| 久久综合久久综合久久| 国产精品综合视频| 国产精品三级av在线播放| av网站一区二区三区| 日韩欧美你懂的| 日韩不卡手机在线v区| 欧美电影免费提供在线观看| 国产高清一区日本| 中文字幕亚洲一区二区av在线| 欧美中文字幕一区二区三区 | 精品亚洲国内自在自线福利| 精品久久久久久久久久久久久久久| 美女网站在线免费欧美精品| 欧美精品一区二区三区在线播放| 成人一级黄色片| 亚洲一区二区美女| 欧美精品一区二区三区久久久| 成人免费毛片嘿嘿连载视频| 亚洲愉拍自拍另类高清精品| 91精品国产高清一区二区三区蜜臀| 日本欧美在线观看| 亚洲国产日日夜夜| 欧美精品一区二区三区蜜桃视频| 国产成人综合在线| 亚洲午夜久久久久中文字幕久| 欧美一级夜夜爽| 99视频在线精品| 久久精品久久99精品久久| 自拍偷在线精品自拍偷无码专区| 欧美精品一二三四| 成人18视频日本| 日本三级韩国三级欧美三级| 1区2区3区精品视频| 日韩一区二区电影| 色就色 综合激情| 国产一区二区按摩在线观看| 亚洲一区在线看| 亚洲国产精华液网站w| 日韩欧美国产三级电影视频| 一本色道久久综合亚洲aⅴ蜜桃| 亚洲第一福利一区| 久久综合成人精品亚洲另类欧美 | 六月丁香婷婷色狠狠久久| 一色屋精品亚洲香蕉网站| 欧美zozo另类异族| 欧美日韩国产bt| 色香色香欲天天天影视综合网| 国内精品视频666| 亚洲国产中文字幕| 亚洲蜜臀av乱码久久精品蜜桃| 国产欧美日本一区视频| 欧美xxxxx裸体时装秀| 欧美精三区欧美精三区| 色婷婷久久久综合中文字幕| 大胆欧美人体老妇| 国产盗摄视频一区二区三区| 精品一区二区日韩| 美腿丝袜亚洲色图| 日本va欧美va瓶| 日韩国产欧美视频| 青青草国产成人av片免费| 亚瑟在线精品视频| 性欧美疯狂xxxxbbbb| 亚洲永久精品国产| 亚洲一区二区在线视频| 亚洲综合另类小说| 亚洲最大成人网4388xx| 亚洲乱码日产精品bd| 一区二区三区**美女毛片| 亚洲精品久久7777| 亚洲夂夂婷婷色拍ww47| 丝袜美腿亚洲一区| 免费一级片91| 久久99精品国产.久久久久 | 一区二区理论电影在线观看| 国产精品久久久久久久久免费桃花 | 亚洲天堂成人在线观看| 亚洲视频 欧洲视频| 亚洲午夜私人影院| 亚洲18色成人| 精品一区二区三区欧美| 国产激情视频一区二区在线观看| 成人福利视频网站| 一本久道中文字幕精品亚洲嫩| 91麻豆精品在线观看| 欧美撒尿777hd撒尿| 精品日韩欧美在线| 日本一区二区三区高清不卡 | 日韩欧美国产系列| 国产亚洲制服色| 亚洲欧美综合色| 丝袜诱惑制服诱惑色一区在线观看| 蜜桃av一区二区| 成+人+亚洲+综合天堂| 在线看不卡av| 精品国产91乱码一区二区三区 | 欧美偷拍一区二区| 欧美一级精品大片| 国产精品丝袜一区| 五月激情综合网| 国产成人在线免费| 91成人在线精品| 久久久久亚洲综合| 亚洲无线码一区二区三区| 国产在线精品一区二区夜色| 99久久免费视频.com| 日韩一区二区三区视频| 国产精品视频在线看| 午夜精品福利久久久| www.色精品| 精品久久一区二区| 亚洲夂夂婷婷色拍ww47 | 亚洲成人先锋电影| 成熟亚洲日本毛茸茸凸凹| 91精品国产综合久久香蕉麻豆 | 精品久久久久久久久久久久久久久 | 国产91对白在线观看九色| 欧美年轻男男videosbes| 中文字幕第一区综合|