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

📄 sessionevent.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/jivesoftware/openfire/audit/AuditEvent.html#getCode()">getCode</A>, <A HREF="../../../../org/jivesoftware/openfire/audit/AuditEvent.html#getData()">getData</A>, <A HREF="../../../../org/jivesoftware/openfire/audit/AuditEvent.html#getReason()">getReason</A>, <A HREF="../../../../org/jivesoftware/openfire/audit/AuditEvent.html#getSession()">getSession</A>, <A HREF="../../../../org/jivesoftware/openfire/audit/AuditEvent.html#getTimestamp()">getTimestamp</A>, <A HREF="../../../../org/jivesoftware/openfire/audit/AuditEvent.html#setCode(int)">setCode</A>, <A HREF="../../../../org/jivesoftware/openfire/audit/AuditEvent.html#setData(java.lang.String)">setData</A>, <A HREF="../../../../org/jivesoftware/openfire/audit/AuditEvent.html#setReason(int)">setReason</A>, <A HREF="../../../../org/jivesoftware/openfire/audit/AuditEvent.html#setSession(org.jivesoftware.openfire.session.Session)">setSession</A>, <A HREF="../../../../org/jivesoftware/openfire/audit/AuditEvent.html#setTimestamp(java.util.Date)">setTimestamp</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="SESSION_CODE"><!-- --></A><H3>SESSION_CODE</H3><PRE>public static final int <B>SESSION_CODE</B></PRE><DL><DD>Session events use the code 1<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.audit.SessionEvent.SESSION_CODE">Constant Field Values</A></DL></DL><HR><A NAME="SESSION_CONNECT"><!-- --></A><H3>SESSION_CONNECT</H3><PRE>public static final int <B>SESSION_CONNECT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.audit.SessionEvent.SESSION_CONNECT">Constant Field Values</A></DL></DL><HR><A NAME="SESSION_STREAM"><!-- --></A><H3>SESSION_STREAM</H3><PRE>public static final int <B>SESSION_STREAM</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.audit.SessionEvent.SESSION_STREAM">Constant Field Values</A></DL></DL><HR><A NAME="SESSION_AUTH_FAILURE"><!-- --></A><H3>SESSION_AUTH_FAILURE</H3><PRE>public static final int <B>SESSION_AUTH_FAILURE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.audit.SessionEvent.SESSION_AUTH_FAILURE">Constant Field Values</A></DL></DL><HR><A NAME="SESSION_AUTH_SUCCESS"><!-- --></A><H3>SESSION_AUTH_SUCCESS</H3><PRE>public static final int <B>SESSION_AUTH_SUCCESS</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.audit.SessionEvent.SESSION_AUTH_SUCCESS">Constant Field Values</A></DL></DL><HR><A NAME="SESSION_DISCONNECT"><!-- --></A><H3>SESSION_DISCONNECT</H3><PRE>public static final int <B>SESSION_DISCONNECT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jivesoftware.openfire.audit.SessionEvent.SESSION_DISCONNECT">Constant Field Values</A></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="createConnectEvent(org.jivesoftware.openfire.session.Session)"><!-- --></A><H3>createConnectEvent</H3><PRE>public static <A HREF="../../../../org/jivesoftware/openfire/audit/SessionEvent.html" title="class in org.jivesoftware.openfire.audit">SessionEvent</A> <B>createConnectEvent</B>(<A HREF="../../../../org/jivesoftware/openfire/session/Session.html" title="interface in org.jivesoftware.openfire.session">Session</A>&nbsp;session)</PRE><DL><DD>Create an event associated with the initial connection of a session before the stream is created.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>session</CODE> - the session that was connected.<DT><B>Returns:</B><DD>an event representing the connection event.</DL></DD></DL><HR><A NAME="createStreamEvent(org.jivesoftware.openfire.session.Session)"><!-- --></A><H3>createStreamEvent</H3><PRE>public static <A HREF="../../../../org/jivesoftware/openfire/audit/SessionEvent.html" title="class in org.jivesoftware.openfire.audit">SessionEvent</A> <B>createStreamEvent</B>(<A HREF="../../../../org/jivesoftware/openfire/session/Session.html" title="interface in org.jivesoftware.openfire.session">Session</A>&nbsp;session)</PRE><DL><DD>Create an event associated with the establishment of an XMPP session. A connect event that is not followed by a stream event indicates the connection was rejected.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>session</CODE> - the session that began streaming.<DT><B>Returns:</B><DD>an event representing the connection event.</DL></DD></DL><HR><A NAME="createAuthFailureEvent(org.jivesoftware.openfire.session.Session, java.lang.String, java.lang.String)"><!-- --></A><H3>createAuthFailureEvent</H3><PRE>public static <A HREF="../../../../org/jivesoftware/openfire/audit/SessionEvent.html" title="class in org.jivesoftware.openfire.audit">SessionEvent</A> <B>createAuthFailureEvent</B>(<A HREF="../../../../org/jivesoftware/openfire/session/Session.html" title="interface in org.jivesoftware.openfire.session">Session</A>&nbsp;session,                                                  <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;user,                                                  <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;resource)</PRE><DL><DD>Create an event associated with the failure of a session to authenticate.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>session</CODE> - the session that made the attempt<DD><CODE>user</CODE> - the user that made the attempt<DD><CODE>resource</CODE> - the resource used for the attempt<DT><B>Returns:</B><DD>an event representing the connection event</DL></DD></DL><HR><A NAME="createAuthSuccessEvent(org.jivesoftware.openfire.session.Session)"><!-- --></A><H3>createAuthSuccessEvent</H3><PRE>public static <A HREF="../../../../org/jivesoftware/openfire/audit/SessionEvent.html" title="class in org.jivesoftware.openfire.audit">SessionEvent</A> <B>createAuthSuccessEvent</B>(<A HREF="../../../../org/jivesoftware/openfire/session/Session.html" title="interface in org.jivesoftware.openfire.session">Session</A>&nbsp;session)</PRE><DL><DD>Create an event associated with a successful authentication.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>session</CODE> - the session that authenticated.<DT><B>Returns:</B><DD>an event representing the connection event.</DL></DD></DL><HR><A NAME="createDisconnectEvent(org.jivesoftware.openfire.session.Session)"><!-- --></A><H3>createDisconnectEvent</H3><PRE>public static <A HREF="../../../../org/jivesoftware/openfire/audit/SessionEvent.html" title="class in org.jivesoftware.openfire.audit">SessionEvent</A> <B>createDisconnectEvent</B>(<A HREF="../../../../org/jivesoftware/openfire/session/Session.html" title="interface in org.jivesoftware.openfire.session">Session</A>&nbsp;session)</PRE><DL><DD>Create an event associated with the closing of a session.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>session</CODE> - the session that was disconnected.<DT><B>Returns:</B><DD>an event representing the connection event.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;<A HREF="../../../../org/jivesoftware/openfire/audit/AuditStreamIDFactory.html" title="class in org.jivesoftware.openfire.audit"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/jivesoftware/openfire/audit/SessionEvent.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SessionEvent.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &copy; 2003-2008 Jive Software.</i></BODY></HTML>

⌨️ 快捷键说明

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