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

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

?? querylastmsgsresp.java

?? Java寫的smpp實現
?? JAVA
字號:
/* * Java SMPP API * Copyright (C) 1998 - 2001 by Oran Kelly *  * 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 *  * A copy of the LGPL can be viewed at http://www.gnu.org/copyleft/lesser.html * Java SMPP API author: orank@users.sf.net * Java SMPP API Homepage: http://smppapi.sourceforge.net/ */package ie.omk.smpp.message;import java.io.*;import java.util.*;import ie.omk.smpp.SMPPException;import ie.omk.smpp.BadCommandIDException;import ie.omk.smpp.InvalidMessageIDException;import ie.omk.smpp.util.SMPPIO;import ie.omk.debug.Debug;/** SMSC response to a QueryLastMsgs request.  * @author Oran Kelly  * @version 1.0  */public class QueryLastMsgsResp    extends ie.omk.smpp.message.SMPPResponse{    /** The table of messages returned */    private Vector messageTable = new Vector();    /** Construct a new QueryLastMsgsResp.      */    public QueryLastMsgsResp()    {	super(ESME_QUERY_LAST_MSGS_RESP);    }    /** Construct a new QueryLastMsgsResp with specified sequence number.      * @param seqNum The sequence number to use      * @deprecated      */    public QueryLastMsgsResp(int seqNum)    {	super(ESME_QUERY_LAST_MSGS_RESP, seqNum);    }    /** Read in a QueryLastMsgsResp from an InputStream.  A full packet,      * including the header fields must exist in the stream.      * @param in The InputStream to read from      * @exception java.io.IOException if there's an error reading from the      * input stream.      */    public QueryLastMsgsResp(InputStream in)	throws java.io.IOException, ie.omk.smpp.SMPPException    {	super(in);	if (getCommandId() != SMPPPacket.ESME_QUERY_LAST_MSGS_RESP)	    throw new BadCommandIDException(		    SMPPPacket.ESME_QUERY_LAST_MSGS_RESP, getCommandId());	if (getCommandStatus() != 0)	    return;	int msgCount = 0;	long id = 0;	msgCount = SMPPIO.readInt(in, 1);	for(int loop = 0; loop < msgCount; loop++) {	    String s = SMPPIO.readCString(in);	    messageTable.addElement(s);	    Debug.d(this, "<init>", "Adding " + s + " to destinations", 3);	}    }    /** Create a new QueryLastMsgsResp packet in response to a BindReceiver.      * This constructor will set the sequence number to it's expected value.      * @param r The Request packet the response is to      */    public QueryLastMsgsResp(QueryLastMsgs r)    {	super(r);    }    /** Add a message Id to the response packet.      * @param id The message Id to add to the packet.      * @return The current number of message Ids (including the new one).      * @exception ie.omk.smpp.InvalidMessageIDException if the id is invalid.      */    public int addMessageId(String id)	throws ie.omk.smpp.SMPPException    {	if(id.length() > 8)	    throw new InvalidMessageIDException(id);	synchronized (messageTable) {	    messageTable.addElement(id);	    return (messageTable.size());	}    }    /** Get the number of message Ids. */    public int getMsgCount()    {	return (messageTable.size());    }    /** Get a String array of the message Ids.      * @return A String array of all the message Ids.      */    public String[] getMessageIds()    {	String[] ids;	int loop = 0;	synchronized (messageTable) {	    if(messageTable.size() == 0)		return null;	    ids = new String[messageTable.size()];	    Iterator i = messageTable.iterator();	    while (i.hasNext())		ids[loop++] = (String)i.next();	}	return ids;    }    /** Return the number of bytes this packet would be encoded as to an      * OutputStream.      * @return the number of bytes this packet would encode as.      */    public int getCommandLen()    {	String s = null;	// 1 1-byte integer!	int size = getHeaderLen() + 1;	synchronized (messageTable) {	    Iterator i = messageTable.iterator();	    while (i.hasNext())		size += ((String)i.next()).length() + 1;	}	return (size);    }    /** Write a byte representation of this packet to an OutputStream      * @param out The OutputStream to write to      * @exception java.io.IOException if there's an error writing to the      * output stream.      */    protected void encodeBody(OutputStream out)	throws java.io.IOException, ie.omk.smpp.SMPPException    {	String s = null;	synchronized (messageTable) {	    int size = messageTable.size();	    SMPPIO.writeInt(size, 1, out);	    Iterator i = messageTable.iterator();	    while (i.hasNext())		SMPPIO.writeCString((String)i.next(), out);	}    }    /** Convert this packet to a String. Not to be interpreted programmatically,      * it's just dead handy for debugging!      */    public String toString()    {	return new String("query_last_msgs_resp");    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆国产一区二区| 欧美一区二区三区色| 欧美精品少妇一区二区三区| 久久夜色精品一区| 亚洲午夜羞羞片| 成人av手机在线观看| 日韩久久免费av| 五月婷婷激情综合| 91香蕉视频污| 国产精品久久久久三级| 国产精品影视在线观看| 日韩一级片在线观看| 性欧美大战久久久久久久久| 91在线你懂得| 国产精品灌醉下药二区| 国产精品911| 久久蜜桃一区二区| 久久se这里有精品| 日韩欧美卡一卡二| 日本成人在线电影网| 欧美美女视频在线观看| 一区二区三区电影在线播| www.成人网.com| 中文字幕在线观看不卡| www.色精品| 亚洲女同ⅹxx女同tv| 色综合激情五月| 亚洲国产一区二区三区青草影视| 色婷婷久久一区二区三区麻豆| 国产精品亲子伦对白| 高清在线不卡av| 久久久久久免费网| 国产盗摄一区二区三区| 国产精品成人一区二区三区夜夜夜| 国产乱码精品一区二区三区忘忧草 | 国产一区二三区好的| 欧美成人a视频| 国内精品伊人久久久久av影院| 欧美一区二区日韩| 狠狠色丁香婷婷综合久久片| 精品成人在线观看| 国产不卡在线视频| 亚洲综合小说图片| 91精品国产全国免费观看| 极品少妇xxxx精品少妇偷拍| 久久精品夜色噜噜亚洲aⅴ| 国产精品一区三区| 日韩毛片高清在线播放| 在线免费观看视频一区| 日产精品久久久久久久性色| 精品久久国产字幕高潮| www.久久精品| 日韩精品每日更新| 欧美国产精品劲爆| 欧美主播一区二区三区美女| 日本亚洲欧美天堂免费| 久久久久9999亚洲精品| 91婷婷韩国欧美一区二区| 亚洲第一主播视频| 久久先锋资源网| 91麻豆自制传媒国产之光| 日韩一区欧美二区| 国产精品五月天| 欧美精品电影在线播放| 国产精品99久久久久久似苏梦涵 | 国产偷国产偷亚洲高清人白洁| 北条麻妃一区二区三区| 午夜影院在线观看欧美| xfplay精品久久| 欧美日韩你懂得| 懂色av中文一区二区三区| 亚洲国产一区二区在线播放| 久久久久久久久久久久久夜| 在线观看一区日韩| 国产精品夜夜嗨| 视频一区欧美日韩| 国产精品国产自产拍在线| 51久久夜色精品国产麻豆| 成人毛片在线观看| 高清国产一区二区| 亚洲一卡二卡三卡四卡五卡| 26uuuu精品一区二区| 欧美久久免费观看| 91小视频在线| 国产成人av电影在线| 久久精品国产亚洲高清剧情介绍| 亚洲欧美色综合| 欧美国产一区二区| 欧美本精品男人aⅴ天堂| 欧美日韩国产天堂| av电影在线观看完整版一区二区| 久久不见久久见免费视频1| 亚洲大片免费看| 一级精品视频在线观看宜春院 | 亚洲国产精品99久久久久久久久| 欧美精品tushy高清| 91久久精品日日躁夜夜躁欧美| 国产成人自拍网| 九九国产精品视频| 另类中文字幕网| 久久疯狂做爰流白浆xx| 亚洲一区视频在线观看视频| 亚洲欧美在线观看| 欧美极品aⅴ影院| 欧美高清一级片在线观看| 久久久久久黄色| 国产婷婷色一区二区三区在线| 亚洲精品一区二区三区蜜桃下载| 日韩三区在线观看| 日韩久久精品一区| 精品国内二区三区| 久久久国产午夜精品 | 亚洲一区二区三区影院| 亚洲视频一二区| 亚洲精品高清在线观看| 一区二区三区四区亚洲| 亚洲一区在线观看视频| 午夜精品久久久久久久久久久| 午夜精品久久一牛影视| 美国毛片一区二区三区| 狠狠色综合播放一区二区| 国产九色精品成人porny| 国产sm精品调教视频网站| 懂色av一区二区三区免费看| 成人亚洲一区二区一| 99国产精品久久久久| 日本丰满少妇一区二区三区| 欧美色精品在线视频| 91精品国产色综合久久| 久久久影视传媒| 国产精品传媒在线| 亚洲国产精品一区二区久久恐怖片| 亚洲电影视频在线| 久久99九九99精品| 风间由美一区二区三区在线观看| 91亚洲男人天堂| 欧美老女人在线| 久久久久高清精品| 一区二区三区四区高清精品免费观看 | 91伊人久久大香线蕉| 欧美日本在线观看| 久久精品人人做人人爽人人| 亚洲欧美激情插| 蜜桃视频第一区免费观看| 国产成人8x视频一区二区| 色偷偷久久人人79超碰人人澡| 欧美一级在线免费| 中文字幕中文字幕一区| 日日嗨av一区二区三区四区| 国产**成人网毛片九色 | 国产精品国产自产拍在线| 亚洲成va人在线观看| 国产一区二区三区日韩 | 天堂在线亚洲视频| 丁香婷婷综合激情五月色| 欧美日韩在线播放一区| 国产女主播一区| 日韩电影网1区2区| 91丨porny丨首页| 精品久久久久久久久久久久久久久 | 青青青伊人色综合久久| 成人黄动漫网站免费app| 日韩欧美亚洲国产精品字幕久久久| 国产精品久久毛片av大全日韩| 青青草视频一区| 色综合久久综合网97色综合| 久久久午夜精品| 三级一区在线视频先锋| av福利精品导航| 国产日韩欧美综合一区| 亚洲第一主播视频| 99久精品国产| 国产亚洲视频系列| 久久精品免费观看| 欧美丝袜丝交足nylons图片| 国产精品网站导航| 国产成人综合自拍| 精品福利一区二区三区| 日韩激情一二三区| 欧美日韩aaaaaa| 玉米视频成人免费看| 成人激情免费视频| 久久久91精品国产一区二区三区| 日韩精品一二区| 欧美肥大bbwbbw高潮| 亚洲成av人综合在线观看| 成人的网站免费观看| 国产亚洲一区二区在线观看| 久久99久久精品欧美| 91精品国产91久久久久久最新毛片| 亚洲曰韩产成在线| 在线亚洲免费视频| 一区二区三区四区蜜桃| 一本一道久久a久久精品综合蜜臀 一本一道综合狠狠老 | 国产精品久线在线观看| 北岛玲一区二区三区四区| 国产精品久久久久影院亚瑟| av网站一区二区三区| 中文字幕一区二区不卡| 91丨porny丨蝌蚪视频|