com.aspire.nm.component.cmppserver.filter.coder.packet
类 CmppSubmitRespPacket
java.lang.Object
com.aspire.nm.component.cmppserver.filter.coder.packet.Packet
com.aspire.nm.component.cmppserver.filter.coder.packet.CmppPacket
com.aspire.nm.component.cmppserver.filter.coder.packet.CmppSubmitRespPacket
- 所有已实现的接口:
- Serializable
public class CmppSubmitRespPacket
- extends CmppPacket
CMPP_SUBMIT_RESP
参照:中国移动通信互联网短信网关接口协议CMPP3.0, 中国移动通信互联网短信网关接口协议CMPP2.0
- 从以下版本开始:
- 1.0.0
- 作者:
- Wang Shenggong
- 另请参见:
- 序列化表格
| 从类 com.aspire.nm.component.cmppserver.filter.coder.packet.CmppPacket 继承的字段 |
bizParams, CMPP_ACTIVE_TEST, CMPP_ACTIVE_TEST_LENGTH, CMPP_ACTIVE_TEST_RESP, CMPP_ACTIVE_TEST_RESP_LENGTH, CMPP_CANCEL, CMPP_CANCEL_LENGTH_V30, CMPP_CANCEL_RESP, CMPP_CANCEL_RESP_LENGTH_V30, CMPP_CONNECT, CMPP_CONNECT_LENGTH, CMPP_CONNECT_RESP, CMPP_CONNECT_RESP_LENGTH_V20, CMPP_CONNECT_RESP_LENGTH_V30, CMPP_DELIVER, CMPP_DELIVER_LENGTH_MIN_V20, CMPP_DELIVER_LENGTH_MIN_V30, CMPP_DELIVER_RESP, CMPP_DELIVER_RESP_LENGTH_V20, CMPP_DELIVER_RESP_LENGTH_V30, CMPP_QUERY, CMPP_QUERY_LENGTH_V30, CMPP_QUERY_RESP, CMPP_QUERY_RESP_LENGTH_V30, CMPP_SUBMIT, CMPP_SUBMIT_LENGTH_MIN_V20, CMPP_SUBMIT_LENGTH_MIN_V30, CMPP_SUBMIT_RESP, CMPP_SUBMIT_RESP_LENGTH_V20, CMPP_SUBMIT_RESP_LENGTH_V30, CMPP_TERMINATE, CMPP_TERMINATE_LENGTH, CMPP_TERMINATE_RESP, CMPP_TERMINATE_RESP_LENGTH, commandId, HEADER_LENGTH, sequenceId, totalLength, UNKNOW_PACKET, USMP_PUSHNOTIFY, USMP_PUSHNOTIRY_LENGTH, USMP_PUSHNOTIRY_RESP, USMP_PUSHNOTIRY_RESP_LENGTH, USMP_SUBMITPUSH, USMP_SUBMITPUSH_LENGTH_MAX, USMP_SUBMITPUSH_LENGTH_MIN, USMP_SUBMITPUSH_RESP, USMP_SUBMITPUSH_RESP_LENGTH, version |
| 从类 com.aspire.nm.component.cmppserver.filter.coder.packet.Packet 继承的方法 |
allocate, get, get, get, get, getByteBuffer, getBytes, getChar, getChar, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getShort, getShort, getString, put, put, put, put, put, putChar, putChar, putDouble, putDouble, putFloat, putFloat, putInt, putInt, putLong, putLong, putShort, putShort, putString, putString, putStringLeftPad, putStringRightPad, setByteBuffer, setBytes |
FailDetailMap
public static Map<Integer,String> FailDetailMap
RESULT_OK
public static int RESULT_OK
RESULT_FEETYPE_ERR
public static int RESULT_FEETYPE_ERR
RESULT_MSG_LENGTH_ERR
public static int RESULT_MSG_LENGTH_ERR
RESULT_FEE_CODE_ERR
public static int RESULT_FEE_CODE_ERR
RESULT_MSG_TOO_LONG
public static int RESULT_MSG_TOO_LONG
RESULT_SERVICE_ID_ERR
public static int RESULT_SERVICE_ID_ERR
RESULT_SECONDLIMIT_ERR
public static int RESULT_SECONDLIMIT_ERR
RESULT_MINLIMIT_ERR
public static int RESULT_MINLIMIT_ERR
RESULT_HOURLIMIT_ERR
public static int RESULT_HOURLIMIT_ERR
RESULT_DAYLIMIT_ERR
public static int RESULT_DAYLIMIT_ERR
RESULT_SRC_ID_ERR
public static int RESULT_SRC_ID_ERR
RESULT_DEST_TERMINAL_ID_ERR
public static int RESULT_DEST_TERMINAL_ID_ERR
RESULT_REJECT
public static int RESULT_REJECT
RESULT_FILTER_KEYWORD
public static int RESULT_FILTER_KEYWORD
RESULT_DEST_TERMINAL_ID_WHILE_ERR
public static int RESULT_DEST_TERMINAL_ID_WHILE_ERR
RESULT_DEST_TERMINAL_ID_BLACK_ERR
public static int RESULT_DEST_TERMINAL_ID_BLACK_ERR
CmppSubmitRespPacket
public CmppSubmitRespPacket(Version version)
pack
public byte[] pack()
throws PacketException
- 从类
CmppPacket 复制的描述
- 封包, 将封包对象打包成网络传输的字节数组
- 覆盖:
- 类
CmppPacket 中的 pack
- 返回:
- 打包后的字节数组
- 抛出:
PacketException
unpack
public CmppPacket unpack(ByteBuffer buffer)
throws PacketException
- 从类
CmppPacket 复制的描述
- 将底层字节数组解包成封包对象, 解包后对象本身相应的值发生改变被将自己返回
- 覆盖:
- 类
CmppPacket 中的 unpack
- 返回:
- 解包后的CmppPacket对象
- 抛出:
PacketException
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
getMsgId
public long getMsgId()
- 返回:
- the msgId
setMsgId
public void setMsgId(long msgId)
- 参数:
msgId - the msgId to set
getResult
public int getResult()
- 返回:
- the result
setResult
public void setResult(int result)
- 参数:
result - the result to set
Copyright © 2016. All rights reserved.