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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? statusreportmessage.java

?? 發(fā)送短信 接收短信 多種接口com/net/modem 開發(fā)庫
?? JAVA
字號:
// SMSLib for Java v3
// A Java API library for sending and receiving SMS via a GSM modem
// or other supported gateways.
// Web Site: http://www.smslib.org
//
// Copyright (C) 2002-2009, Thanasis Delenikas, Athens/GREECE.
// SMSLib is distributed under the terms of the Apache License version 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package org.smslib;

import java.util.*;
import org.ajwcc.pduUtils.gsm3040.*;

/**
 * Class representing an delivery/status report message.
 */
public class StatusReportMessage extends InboundMessage
{
	private static final long serialVersionUID = -1219480715074817278L;

	/**
	 * Enumeration representing delivery (status report) message status.
	 */
	public enum DeliveryStatuses
	{
		/**
		 * Unknown delivery status.
		 */
		UNKNOWN,
		/**
		 * Message has been delivered.
		 */
		DELIVERED,
		/**
		 * Message has not been delivered yet - will keep trying.
		 */
		KEEPTRYING,
		/**
		 * Message has failed to be delivered.
		 */
		ABORTED
	}

	private String recipient;

	private Date sent;

	private Date received;

	private DeliveryStatuses status;

	private String refNo;

	public StatusReportMessage(SmsStatusReportPdu pdu, int memIndex, String memLocation)
	{
		super(MessageTypes.STATUSREPORT, memIndex, memLocation);
		this.refNo = String.valueOf(pdu.getMessageReference());
		this.recipient = pdu.getAddress();
		this.sent = pdu.getTimestamp();
		this.received = pdu.getDischargeTime();
		int i = pdu.getStatus();
		if ((i & 0x60) == 0)
		{
			setText("00 - Succesful Delivery.");
			this.status = DeliveryStatuses.DELIVERED;
		}
		if ((i & 0x20) == 0x20)
		{
			setText("01 - Errors, will retry dispatch.");
			this.status = DeliveryStatuses.KEEPTRYING;
		}
		if ((i & 0x40) == 0x40)
		{
			setText("02 - Errors, stopped retrying dispatch.");
			this.status = DeliveryStatuses.ABORTED;
		}
		if ((i & 0x60) == 0x60)
		{
			setText("03 - Errors, stopped retrying dispatch.");
			this.status = DeliveryStatuses.ABORTED;
		}
		setDate(null);
	}

	public StatusReportMessage(String myRefNo, int memIndex, String memLocation, Date dateOriginal, Date dateReceived)
	{
		super(MessageTypes.STATUSREPORT, memIndex, memLocation);
		this.refNo = myRefNo;
		this.sent = dateOriginal;
		this.received = dateReceived;
		setText("");
		this.status = DeliveryStatuses.UNKNOWN;
		setDate(null);
	}

	/**
	 * Returns the recipient of the original outbound message that created this
	 * status report.
	 * 
	 * @return The recipient of the original outbound message.
	 */
	public String getRecipient()
	{
		return this.recipient;
	}

	/**
	 * Returns the date that the recipient received the original outbound
	 * message.
	 * 
	 * @return The receive date.
	 * @see #getSent()
	 */
	public Date getReceived()
	{
		return new java.util.Date(this.received.getTime());
	}

	public void setReceived(Date myReceived)
	{
		this.received = myReceived;
	}

	/**
	 * Returns the date when the original outbound message was sent.
	 * 
	 * @return The sent date.
	 * @see #getReceived()
	 */
	public Date getSent()
	{
		return new java.util.Date(this.sent.getTime());
	}

	public void setSent(Date mySent)
	{
		this.sent = mySent;
	}

	/**
	 * The status of the original outbound message. Use this field to see what
	 * happened with the original message.
	 * 
	 * @return The status of the outbound message;
	 * @see DeliveryStatuses
	 */
	public DeliveryStatuses getStatus()
	{
		return this.status;
	}

	public void setStatus(DeliveryStatuses myStatus)
	{
		this.status = myStatus;
	}

	/**
	 * Returns the Reference Number of the original outbound message that this
	 * status report refers to.
	 * 
	 * @return The Reference Number of the original outbound message.
	 */
	public String getRefNo()
	{
		return this.refNo;
	}
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美欧美午夜aⅴ在线观看| 日韩精品一区国产麻豆| 国产精品综合在线视频| 免费高清成人在线| 日本午夜一区二区| 美脚の诱脚舐め脚责91| 蜜臀av性久久久久蜜臀aⅴ| 美女免费视频一区| 欧美a一区二区| 国产夫妻精品视频| 成人av免费观看| 一道本成人在线| 欧美性大战久久久久久久蜜臀| 一本一道久久a久久精品综合蜜臀| 91丨九色丨蝌蚪丨老版| 欧美亚洲国产一区二区三区va| 91国偷自产一区二区开放时间| 欧美亚州韩日在线看免费版国语版 | 91精品国产综合久久久蜜臀粉嫩 | 日韩一区二区在线播放| 国产欧美一区二区三区网站| 在线国产亚洲欧美| 欧美日韩激情在线| 精品视频在线免费| 欧美一区二区三区人| 欧美日韩国产综合久久| 91蜜桃在线免费视频| 国内精品伊人久久久久av一坑 | 久久久午夜精品理论片中文字幕| 久久亚洲影视婷婷| 国产精品色在线| 一级特黄大欧美久久久| 蜜臀久久99精品久久久画质超高清| 久久国产尿小便嘘嘘| 成人免费看视频| 欧美精品三级在线观看| 国产亚洲欧美日韩日本| 亚洲精品久久久蜜桃| 久久se这里有精品| 91精品办公室少妇高潮对白| 欧美精品一区二| 亚洲宅男天堂在线观看无病毒| 免费观看在线综合| av一二三不卡影片| 日韩欧美精品在线| 一区二区三区鲁丝不卡| 国产一区二区三区综合| 欧美在线观看视频一区二区 | 国产成人av电影在线观看| 一本在线高清不卡dvd| 精品久久久久久综合日本欧美| 亚洲免费视频成人| 国产成人综合网| 在线综合+亚洲+欧美中文字幕| 国产农村妇女毛片精品久久麻豆| 三级欧美在线一区| 色88888久久久久久影院野外| 国产精品少妇自拍| 成人夜色视频网站在线观看| 亚洲成人av一区二区三区| 精品亚洲国产成人av制服丝袜| 欧美精品少妇一区二区三区| 国产精品黄色在线观看| 麻豆国产91在线播放| 欧美综合亚洲图片综合区| 亚洲私人黄色宅男| 成人小视频在线观看| 久久久久综合网| 日韩不卡免费视频| 91精品国产综合久久蜜臀| 亚洲国产精品视频| 欧美丝袜自拍制服另类| 一区二区三区欧美日韩| 欧美日韩国产欧美日美国产精品| 色综合久久天天| 一区二区成人在线观看| 欧美大片拔萝卜| 欧美亚洲自拍偷拍| 欧美日本韩国一区二区三区视频 | 亚洲国产一区二区三区青草影视| 精品裸体舞一区二区三区| 日韩精品在线一区二区| 日韩一级免费观看| 久久亚洲二区三区| 亚洲蜜臀av乱码久久精品蜜桃| 亚洲三级在线观看| 免费观看久久久4p| 蜜桃视频在线一区| 色狠狠桃花综合| 久久伊99综合婷婷久久伊| 欧美精品一区二区三区在线播放| 东方欧美亚洲色图在线| 午夜精品久久久久久久| 亚洲日本欧美天堂| 天天综合网天天综合色| 一本大道av伊人久久综合| 亚洲国产日韩精品| 日韩欧美国产麻豆| 看国产成人h片视频| 久久久不卡网国产精品二区| 成人福利视频在线看| 一区二区三区四区国产精品| 欧美日韩国产大片| 国产一区二区三区黄视频| 国产精品久久一卡二卡| 欧美亚洲精品一区| 精品一区二区三区在线观看 | 亚洲国产岛国毛片在线| 色综合久久88色综合天天免费| 亚洲mv在线观看| 精品美女在线播放| 成人综合婷婷国产精品久久蜜臀 | 日韩精品一区二区三区视频在线观看| 精品制服美女丁香| 亚洲视频一区在线| 欧美一级黄色录像| 成人高清免费观看| 看片的网站亚洲| 亚洲一区二区三区视频在线| 2024国产精品视频| 欧美午夜影院一区| 成人综合激情网| 麻豆成人综合网| 一区二区三区中文字幕| 久久网站热最新地址| 欧美日韩午夜影院| 成人18视频在线播放| 另类小说欧美激情| 亚洲在线一区二区三区| 国产亚洲综合av| 精品国产免费视频| 欧美日韩在线播放| 99精品久久99久久久久| 国产激情精品久久久第一区二区 | 91精品欧美综合在线观看最新| 不卡av在线免费观看| 激情五月激情综合网| 亚洲国产成人av好男人在线观看| 国产欧美精品在线观看| 精品嫩草影院久久| 欧美一区中文字幕| 欧美少妇bbb| 欧美中文字幕亚洲一区二区va在线| 国产成人欧美日韩在线电影| 国产呦精品一区二区三区网站| 五月天网站亚洲| 亚洲国产乱码最新视频| 在线视频观看一区| 99在线热播精品免费| 成人免费视频在线观看| 国产人久久人人人人爽| 精品国产91亚洲一区二区三区婷婷| 777欧美精品| 欧美日韩黄视频| 在线成人小视频| 欧美日韩高清一区| 555www色欧美视频| 日韩视频一区二区三区在线播放 | 久久综合九色综合欧美亚洲| 日韩视频123| 久久综合五月天婷婷伊人| 欧美哺乳videos| 国产日韩欧美一区二区三区综合| 久久久一区二区三区| 久久精品男人的天堂| 中文字幕永久在线不卡| 亚洲色欲色欲www在线观看| 亚洲男人天堂av网| 亚洲午夜精品在线| 青青草伊人久久| 国产露脸91国语对白| 成人免费看片app下载| 色综合夜色一区| 欧美剧情电影在线观看完整版免费励志电影 | 日韩欧美亚洲一区二区| 久久久久久久久一| 国产精品国产三级国产aⅴ中文| 亚洲欧美日韩中文播放| 亚洲国产视频网站| 精品一区二区免费在线观看| 成人免费黄色在线| 欧洲生活片亚洲生活在线观看| 欧美日韩亚洲高清一区二区| www久久精品| 亚洲欧洲国产日韩| 天天亚洲美女在线视频| 国产一区二区三区高清播放| eeuss鲁片一区二区三区| 欧美日韩精品一区二区天天拍小说| 欧美一级艳片视频免费观看| 国产免费成人在线视频| 亚洲免费在线观看视频| 国内精品伊人久久久久av一坑| 91日韩一区二区三区| 综合色天天鬼久久鬼色| 欧美伊人久久久久久午夜久久久久| 日本乱码高清不卡字幕| 日韩精品在线一区| 亚洲黄色小说网站| 国产精品888|