📄 emppsubmitsm.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_09) on Tue Mar 07 23:33:26 CST 2006 -->
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<TITLE>
EMPPSubmitSM (上海移动企信通)
</TITLE>
<META NAME="keywords" CONTENT="com.wondertek.esmp.esms.empp.EMPPSubmitSM class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="EMPPSubmitSM (上海移动企信通)";
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EMPPSubmitSM.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPShortMsg.html" title="class in com.wondertek.esmp.esms.empp"><B>PREV CLASS</B></A>
<A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM2.html" title="class in com.wondertek.esmp.esms.empp"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="EMPPSubmitSM.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.wondertek.esmp.esms.empp</FONT>
<BR>
Class EMPPSubmitSM</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by">Parser
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPParser.html" title="class in com.wondertek.esmp.esms.empp">com.wondertek.esmp.esms.empp.EMPPParser</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPObject.html" title="class in com.wondertek.esmp.esms.empp">com.wondertek.esmp.esms.empp.EMPPObject</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPRequest.html" title="class in com.wondertek.esmp.esms.empp">com.wondertek.esmp.esms.empp.EMPPRequest</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.wondertek.esmp.esms.empp.EMPPSubmitSM</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM2.html" title="class in com.wondertek.esmp.esms.empp">EMPPSubmitSM2</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>EMPPSubmitSM</B><DT>extends <A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPRequest.html" title="class in com.wondertek.esmp.esms.empp">EMPPRequest</A></DL>
<P>
<p>Title: EMPP_SUBMIT协议封装类</p> <p>Description: EMPP_SUBMIT操作的目的是EP在与ESMP建立应用层连接后向ESMP提交短信。ESMP以EMPP_SUBMIT_RESP消息响应。封装的各协议属性的长度都有最大限制,属性长度超长,在消息发送时会自动按其最大的长度进行截取</p> <p>Copyright: Copyright (c) 2004-5-12 13:31:52</p> <p>Company: wondertek</p>
<P>
<P>
<DL>
<DT><B>Author:</B></DT> <DD>lsh</DD><DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#com.wondertek.esmp.esms.empp.EMPPSubmitSM">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_FEECODE_SIZE">EMPP_FEECODE_SIZE</A></B></CODE>
<BR>
保留属性FeeCode的最大长度</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_FEETERMTYPE_FALSE">EMPP_FEETERMTYPE_FALSE</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_FEETERMTYPE_TRUE">EMPP_FEETERMTYPE_TRUE</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_FEETYPE_SIZE">EMPP_FEETYPE_SIZE</A></B></CODE>
<BR>
保留属性FeeType的最大长度</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_FEEUSERTYPE_INVALID">EMPP_FEEUSERTYPE_INVALID</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_FEEUSERTYPE_SP">EMPP_FEEUSERTYPE_SP</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_LINKID_SIZE">EMPP_LINKID_SIZE</A></B></CODE>
<BR>
LinkID的最大长度</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_MSGFMT_ASCII">EMPP_MSGFMT_ASCII</A></B></CODE>
<BR>
短信内容格式:短信内容为ASCII字符串</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_MSGFMT_GB">EMPP_MSGFMT_GB</A></B></CODE>
<BR>
短信内容格式:短信内容含有汉字</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_MSGFMT_UCS2">EMPP_MSGFMT_UCS2</A></B></CODE>
<BR>
短信内容格式:短信内容采用UCS2编码</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_MSGID_SIZE">EMPP_MSGID_SIZE</A></B></CODE>
<BR>
消息标识MsgID的最大长度</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_SRCID_SIZE">EMPP_SRCID_SIZE</A></B></CODE>
<BR>
源号码即显示在手机端的发信人号码的最大长度</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_STATUSREPORT_FALSE">EMPP_STATUSREPORT_FALSE</A></B></CODE>
<BR>
不要求短信服务器(ESMP)返回状态报告</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_STATUSREPORT_TRUE">EMPP_STATUSREPORT_TRUE</A></B></CODE>
<BR>
要求短信服务器(ESMP)返回状态报告</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_SVRID_SIZE">EMPP_SVRID_SIZE</A></B></CODE>
<BR>
ServiceId的最大长度</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPP_TERMINALID_SIZE">EMPP_TERMINALID_SIZE</A></B></CODE>
<BR>
目的手机号码(DstTermId)的最大长度</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.Long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#orgId">orgId</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#receiveTime">receiveTime</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#SM_DATE_LEN">SM_DATE_LEN</A></B></CODE>
<BR>
ValidTime,AtTime日期时间属性的最大长度</TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_com.wondertek.esmp.esms.empp.EMPPObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class com.wondertek.esmp.esms.empp.<A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPObject.html" title="class in com.wondertek.esmp.esms.empp">EMPPObject</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPObject.html#EMPP_HEADER_SIZE">EMPP_HEADER_SIZE</A>, <A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPObject.html#VALID_ALL">VALID_ALL</A>, <A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPObject.html#VALID_BODY">VALID_BODY</A>, <A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPObject.html#VALID_HEADER">VALID_HEADER</A>, <A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPObject.html#VALID_NONE">VALID_NONE</A></CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#EMPPSubmitSM()">EMPPSubmitSM</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPResponse.html" title="class in com.wondertek.esmp.esms.empp">EMPPResponse</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/wondertek/esmp/esms/empp/EMPPSubmitSM.html#createResponse()">createResponse</A></B>()</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -