📄 emppapi.html
字号:
public int[] <B>submitMsgAsync</B>(java.lang.String content, java.lang.String[] mobiles, java.lang.String 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 content, java.lang.String[] mobiles, java.lang.String serviceId, java.lang.String 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> 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 title, java.lang.String 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 result, java.lang.String 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 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 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 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 + -