streamerror.html
来自「开源项目smack的API文件」· HTML 代码 · 共 337 行 · 第 1/2 页
HTML
337 行
<!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.5.0_07) on Thu Jun 21 14:48:20 PDT 2007 --><TITLE>StreamError (Smack 3.0.4 Documentation)</TITLE><META NAME="keywords" CONTENT="org.jivesoftware.smack.packet.StreamError class"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="StreamError (Smack 3.0.4 Documentation)";}</SCRIPT><NOSCRIPT></NOSCRIPT></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=2 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="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><b>Smack</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jivesoftware/smack/packet/Session.html" title="class in org.jivesoftware.smack.packet"><B>PREV CLASS</B></A> <A HREF="../../../../org/jivesoftware/smack/packet/XMPPError.html" title="class in org.jivesoftware.smack.packet"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jivesoftware/smack/packet/StreamError.html" target="_top"><B>FRAMES</B></A> <A HREF="StreamError.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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">org.jivesoftware.smack.packet</FONT><BR>Class StreamError</H2><PRE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.jivesoftware.smack.packet.StreamError</B></PRE><HR><DL><DT><PRE>public class <B>StreamError</B><DT>extends <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL></PRE><P>Represents a stream error packet. Stream errors are unrecoverable errors where the server will close the unrelying TCP connection after the stream error was sent to the client. These is the list of stream errors as defined in the XMPP spec:<p> <table border=1> <tr><td><b>Code</b></td><td><b>Description</b></td></tr> <tr><td> bad-format </td><td> the entity has sent XML that cannot be processed </td></tr> <tr><td> unsupported-encoding </td><td> the entity has sent a namespace prefix that is unsupported </td></tr> <tr><td> bad-namespace-prefix </td><td> Remote Server Timeout </td></tr> <tr><td> conflict </td><td> the server is closing the active stream for this entity because a new stream has been initiated that conflicts with the existing stream. </td></tr> <tr><td> connection-timeout </td><td> the entity has not generated any traffic over the stream for some period of time. </td></tr> <tr><td> host-gone </td><td> the value of the 'to' attribute provided by the initiating entity in the stream header corresponds to a hostname that is no longer hosted by the server. </td></tr> <tr><td> host-unknown </td><td> the value of the 'to' attribute provided by the initiating entity in the stream header does not correspond to a hostname that is hosted by the server. </td></tr> <tr><td> improper-addressing </td><td> a stanza sent between two servers lacks a 'to' or 'from' attribute </td></tr> <tr><td> internal-server-error </td><td> the server has experienced a misconfiguration. </td></tr> <tr><td> invalid-from </td><td> the JID or hostname provided in a 'from' address does not match an authorized JID. </td></tr> <tr><td> invalid-id </td><td> the stream ID or dialback ID is invalid or does not match an ID previously provided. </td></tr> <tr><td> invalid-namespace </td><td> the streams namespace name is invalid. </td></tr> <tr><td> invalid-xml </td><td> the entity has sent invalid XML over the stream. </td></tr> <tr><td> not-authorized </td><td> the entity has attempted to send data before the stream has been authenticated </td></tr> <tr><td> policy-violation </td><td> the entity has violated some local service policy. </td></tr> <tr><td> remote-connection-failed </td><td> Rthe server is unable to properly connect to a remote entity. </td></tr> <tr><td> resource-constraint </td><td> Rthe server lacks the system resources necessary to service the stream. </td></tr> <tr><td> restricted-xml </td><td> the entity has attempted to send restricted XML features. </td></tr> <tr><td> see-other-host </td><td> the server will not provide service to the initiating entity but is redirecting traffic to another host. </td></tr> <tr><td> system-shutdown </td><td> the server is being shut down and all active streams are being closed. </td></tr> <tr><td> undefined-condition </td><td> the error condition is not one of those defined by the other conditions in this list. </td></tr> <tr><td> unsupported-encoding </td><td> the initiating entity has encoded the stream in an encoding that is not supported. </td></tr> <tr><td> unsupported-stanza-type </td><td> the initiating entity has sent a first-level child of the stream that is not supported. </td></tr> <tr><td> unsupported-version </td><td> the value of the 'version' attribute provided by the initiating entity in the stream header specifies a version of XMPP that is not supported. </td></tr> <tr><td> xml-not-well-formed </td><td> the initiating entity has sent XML that is not well-formed. </td></tr> </table><P><P><DL><DT><B>Author:</B></DT> <DD>Gaston Dombiak</DD></DL><HR><P><!-- ======== CONSTRUCTOR SUMMARY ======== -->
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?