⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 emppapi.html

📁 上海移动通信企业短信通平台EMPP接口协议 empp api及例子
💻 HTML
📖 第 1 页 / 共 5 页
字号:
public int[] <B>submitMsgAsync</B>(java.lang.String&nbsp;content,                            java.lang.String[]&nbsp;mobiles,                            java.lang.String&nbsp;serviceId)                     throws <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/MessageIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">MessageIncompleteException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/UnknownCommandIdException.html" title="class in com.wondertek.esmp.esms.empp.exception">UnknownCommandIdException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/InvalidEMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">InvalidEMPPObjectException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/NotEnoughDataInByteBufferException.html" title="class in com.wondertek.esmp.esms.empp.exception">NotEnoughDataInByteBufferException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/HeaderIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">HeaderIncompleteException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/EMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">EMPPObjectException</A>,                            java.io.IOException</PRE>
<DL>
<DD>异步发送短信,支持长短信 对于普通短信返回一个sequenceNumber 对于长短信返回sequenceNumber数组
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>content</CODE> - 短信内容<DD><CODE>mobiles</CODE> - 手机号数组<DD><CODE>serviceId</CODE> - 服务号,也就是企业号<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/MessageIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">MessageIncompleteException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/UnknownCommandIdException.html" title="class in com.wondertek.esmp.esms.empp.exception">UnknownCommandIdException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/InvalidEMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">InvalidEMPPObjectException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/NotEnoughDataInByteBufferException.html" title="class in com.wondertek.esmp.esms.empp.exception">NotEnoughDataInByteBufferException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/HeaderIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">HeaderIncompleteException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/EMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">EMPPObjectException</A></CODE><DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="submitMsgAsync(java.lang.String, java.lang.String[], java.lang.String, java.lang.String)"><!-- --></A><H3>
submitMsgAsync</H3>
<PRE>
public int[] <B>submitMsgAsync</B>(java.lang.String&nbsp;content,                            java.lang.String[]&nbsp;mobiles,                            java.lang.String&nbsp;serviceId,                            java.lang.String&nbsp;srcTermId)                     throws <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/MessageIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">MessageIncompleteException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/UnknownCommandIdException.html" title="class in com.wondertek.esmp.esms.empp.exception">UnknownCommandIdException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/InvalidEMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">InvalidEMPPObjectException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/NotEnoughDataInByteBufferException.html" title="class in com.wondertek.esmp.esms.empp.exception">NotEnoughDataInByteBufferException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/HeaderIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">HeaderIncompleteException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/EMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">EMPPObjectException</A>,                            java.io.IOException</PRE>
<DL>
<DD>异步发送短信,支持长短信 对于普通短信返回一个sequenceNumber 对于长短信返回sequenceNumber数组
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>content</CODE> - 短信内容<DD><CODE>mobiles</CODE> - 手机号数组<DD><CODE>serviceId</CODE> - 服务号,也就是企业号<DD><CODE>srcTermId</CODE> - 源号码,显示在手机上的号码,必须是以serviceId开头,长度不超过18位.对普通企业srcTermId等于子帐号<DT><B>Returns:</B><DD><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/MessageIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">MessageIncompleteException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/UnknownCommandIdException.html" title="class in com.wondertek.esmp.esms.empp.exception">UnknownCommandIdException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/InvalidEMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">InvalidEMPPObjectException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/NotEnoughDataInByteBufferException.html" title="class in com.wondertek.esmp.esms.empp.exception">NotEnoughDataInByteBufferException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/HeaderIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">HeaderIncompleteException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/EMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">EMPPObjectException</A></CODE><DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="submit2MsgAsync(com.wondertek.esmp.esms.empp.EMPPSubmitSM2)"><!-- --></A><H3>
submit2MsgAsync</H3>
<PRE>
public void <B>submit2MsgAsync</B>(<A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM2.html" title="class in com.wondertek.esmp.esms.empp">EMPPSubmitSM2</A>&nbsp;msg)                     throws <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/MessageIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">MessageIncompleteException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/UnknownCommandIdException.html" title="class in com.wondertek.esmp.esms.empp.exception">UnknownCommandIdException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/InvalidEMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">InvalidEMPPObjectException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/NotEnoughDataInByteBufferException.html" title="class in com.wondertek.esmp.esms.empp.exception">NotEnoughDataInByteBufferException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/HeaderIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">HeaderIncompleteException</A>,                            <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/EMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">EMPPObjectException</A>,                            java.io.IOException</PRE>
<DL>
<DD>异步发送双重认证短信
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - 双重认证短信<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/MessageIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">MessageIncompleteException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/UnknownCommandIdException.html" title="class in com.wondertek.esmp.esms.empp.exception">UnknownCommandIdException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/InvalidEMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">InvalidEMPPObjectException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/NotEnoughDataInByteBufferException.html" title="class in com.wondertek.esmp.esms.empp.exception">NotEnoughDataInByteBufferException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/HeaderIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">HeaderIncompleteException</A></CODE><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/EMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">EMPPObjectException</A></CODE><DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="sendQuestionAsync(java.lang.String, java.lang.String)"><!-- --></A><H3>
sendQuestionAsync</H3>
<PRE>
public void <B>sendQuestionAsync</B>(java.lang.String&nbsp;title,                              java.lang.String&nbsp;content)                       throws <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A>,                              java.io.IOException</PRE>
<DL>
<DD>上传企业疑问
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - 疑问标题<DD><CODE>content</CODE> - 疑问内容<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A></CODE><DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="sendAnswerResp(int, java.lang.String)"><!-- --></A><H3>
sendAnswerResp</H3>
<PRE>
public void <B>sendAnswerResp</B>(int&nbsp;result,                           java.lang.String&nbsp;questionNo)                    throws <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A>,                           java.io.IOException</PRE>
<DL>
<DD>向服务器发送信息表明客户端是否成功接收企业疑问解答 仅在客户端以 connect(String host, int port, String accountId, String passwd) 方式连服务器时需要调用
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>result</CODE> - EMPPAnswerResp.RESULT_OK 或 EMPPAnswerResp.RESULT_ERROR<DD><CODE>questionNo</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A></CODE><DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="queryNoticeAsync(java.util.Date)"><!-- --></A><H3>
queryNoticeAsync</H3>
<PRE>
public void <B>queryNoticeAsync</B>(java.util.Date&nbsp;date)                      throws <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A>,                             java.io.IOException</PRE>
<DL>
<DD>请求运营商指定日期之后(包含)发布的信息
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>date</CODE> - 日期参数<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A></CODE><DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="queryIntrintMsg(java.lang.String)"><!-- --></A><H3>
queryIntrintMsg</H3>
<PRE>
public void <B>queryIntrintMsg</B>(java.lang.String&nbsp;accountId)                     throws <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A>,                            java.io.IOException</PRE>
<DL>
<DD>查询英斯克回复短信息
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A></CODE><DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="queryIntrintMsgState(java.lang.String)"><!-- --></A><H3>
queryIntrintMsgState</H3>
<PRE>
public void <B>queryIntrintMsgState</B>(java.lang.String&nbsp;sendId)                          throws <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A>,                                 java.io.IOException</PRE>
<DL>
<DD>查询英斯克短信状态
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A></CODE><DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="sendActiveTestAsync()"><!-- --></A><H3>
sendActiveTestAsync</H3>
<PRE>
public void <B>sendActiveTestAsync</B>()                         throws <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/ValueNotSetException.html" title="class in com.wondertek.esmp.esms.empp.exception">ValueNotSetException</A>,                                <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/MessageIncompleteException.html" title="class in com.wondertek.esmp.esms.empp.exception">MessageIncompleteException</A>,                                <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/UnknownCommandIdException.html" title="class in com.wondertek.esmp.esms.empp.exception">UnknownCommandIdException</A>,                                <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/InvalidEMPPObjectException.html" title="class in com.wondertek.esmp.esms.empp.exception">InvalidEMPPObjectException</A>,                                <A HREF="../../../../../com/wondertek/esmp/esms/empp/exception/NotEnoughDataInByteBufferException.html" title="class in com.wondertek.esmp.esms.empp.exception">NotEnoughDataInByteBufferException</A>,                                <A HREF=

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -