📄 sessionpacketrouter.html
字号:
<!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="SessionPacketRouter(org.jivesoftware.openfire.session.LocalClientSession)"><!-- --></A><H3>SessionPacketRouter</H3><PRE>public <B>SessionPacketRouter</B>(<A HREF="../../../org/jivesoftware/openfire/session/LocalClientSession.html" title="class in org.jivesoftware.openfire.session">LocalClientSession</A> session)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="setSkipJIDValidation(boolean)"><!-- --></A><H3>setSkipJIDValidation</H3><PRE>public void <B>setSkipJIDValidation</B>(boolean skipJIDValidation)</PRE><DL><DD>Sets if TO addresses of Elements being routed should be validated. Doing stringprep operations is very expensive and sometimes we already validated the TO address so there is no need to validate again the address. For instance, when using Connection Managers the validation is done by the Connection Manager so we can just trust the TO address. On the other hand, the FROM address is set by the server so there is no need to validate it.<p> By default validation is enabled.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>skipJIDValidation</CODE> - true if validation of TO address is enabled.</DL></DD></DL><HR><A NAME="route(org.dom4j.Element)"><!-- --></A><H3>route</H3><PRE>public void <B>route</B>(org.dom4j.Element wrappedElement) throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/UnsupportedEncodingException.html" title="class or interface in java.io">UnsupportedEncodingException</A>, <A HREF="../../../org/jivesoftware/openfire/multiplex/UnknownStanzaException.html" title="class in org.jivesoftware.openfire.multiplex">UnknownStanzaException</A></PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/UnsupportedEncodingException.html" title="class or interface in java.io">UnsupportedEncodingException</A></CODE><DD><CODE><A HREF="../../../org/jivesoftware/openfire/multiplex/UnknownStanzaException.html" title="class in org.jivesoftware.openfire.multiplex">UnknownStanzaException</A></CODE></DL></DD></DL><HR><A NAME="route(org.xmpp.packet.Packet)"><!-- --></A><H3>route</H3><PRE>public void <B>route</B>(<A HREF="../../../org/xmpp/packet/Packet.html" title="class in org.xmpp.packet">Packet</A> packet)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html#route(org.xmpp.packet.Packet)">PacketRouter</A></CODE></B></DD><DD>Routes the given packet based on its type.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html#route(org.xmpp.packet.Packet)">route</A></CODE> in interface <CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html" title="interface in org.jivesoftware.openfire">PacketRouter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>packet</CODE> - The packet to route.</DL></DD></DL><HR><A NAME="route(org.xmpp.packet.IQ)"><!-- --></A><H3>route</H3><PRE>public void <B>route</B>(<A HREF="../../../org/xmpp/packet/IQ.html" title="class in org.xmpp.packet">IQ</A> packet)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html#route(org.xmpp.packet.IQ)">PacketRouter</A></CODE></B></DD><DD>Routes the given IQ packet.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html#route(org.xmpp.packet.IQ)">route</A></CODE> in interface <CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html" title="interface in org.jivesoftware.openfire">PacketRouter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>packet</CODE> - The packet to route.</DL></DD></DL><HR><A NAME="route(org.xmpp.packet.Message)"><!-- --></A><H3>route</H3><PRE>public void <B>route</B>(<A HREF="../../../org/xmpp/packet/Message.html" title="class in org.xmpp.packet">Message</A> packet)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html#route(org.xmpp.packet.Message)">PacketRouter</A></CODE></B></DD><DD>Routes the given Message packet.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html#route(org.xmpp.packet.Message)">route</A></CODE> in interface <CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html" title="interface in org.jivesoftware.openfire">PacketRouter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>packet</CODE> - The packet to route.</DL></DD></DL><HR><A NAME="route(org.xmpp.packet.Presence)"><!-- --></A><H3>route</H3><PRE>public void <B>route</B>(<A HREF="../../../org/xmpp/packet/Presence.html" title="class in org.xmpp.packet">Presence</A> packet)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html#route(org.xmpp.packet.Presence)">PacketRouter</A></CODE></B></DD><DD>Routes the given Presence packet.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html#route(org.xmpp.packet.Presence)">route</A></CODE> in interface <CODE><A HREF="../../../org/jivesoftware/openfire/PacketRouter.html" title="interface in org.jivesoftware.openfire">PacketRouter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>packet</CODE> - The packet to route.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" 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_bottom_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>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/jivesoftware/openfire/SessionNotFoundException.html" title="class in org.jivesoftware.openfire"><B>PREV CLASS</B></A> <A HREF="../../../org/jivesoftware/openfire/SessionResultFilter.html" title="class in org.jivesoftware.openfire"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/jivesoftware/openfire/SessionPacketRouter.html" target="_top"><B>FRAMES</B></A> <A HREF="SessionPacketRouter.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_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2003-2008 Jive Software.</i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -