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

📄 xmppserverinfo.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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="getVersion()"><!-- --></A><H3>getVersion</H3><PRE><A HREF="../../../org/jivesoftware/util/Version.html" title="class in org.jivesoftware.util">Version</A> <B>getVersion</B>()</PRE><DL><DD>Obtain the server's version information. Typically used for iq:version and logging information.<P><DD><DL><DT><B>Returns:</B><DD>the version of the server.</DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Deprecated.html" title="class or interface in java.lang">@Deprecated</A></FONT><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> <B>getName</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/jivesoftware/openfire/XMPPServerInfo.html#getXMPPDomain()"><CODE>getXMPPDomain()</CODE></A></I><P><DD>Obtain the server name (IP address or hostname).<P><DD><DL><DT><B>Returns:</B><DD>the server's name as an IP address or host name.</DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Deprecated.html" title="class or interface in java.lang">@Deprecated</A></FONT>void <B>setName</B>(<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;serverName)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>replaced by <A HREF="../../../org/jivesoftware/openfire/XMPPServerInfo.html#setXMPPDomain(java.lang.String)"><CODE>setXMPPDomain(String)</CODE></A></I><P><DD>Set the server name (IP address or hostname). The server must be restarted for this change to take effect.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>serverName</CODE> - the server's name as an IP address or host name.</DL></DD></DL><HR><A NAME="getHostname()"><!-- --></A><H3>getHostname</H3><PRE><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> <B>getHostname</B>()</PRE><DL><DD>Obtain the host name (IP address or hostname) of this server node.<P><DD><DL><DT><B>Returns:</B><DD>the server's host name as an IP address or host name.</DL></DD></DL><HR><A NAME="getXMPPDomain()"><!-- --></A><H3>getXMPPDomain</H3><PRE><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> <B>getXMPPDomain</B>()</PRE><DL><DD>Obtain the server XMPP domain name. Note that, if unconfigured, the returned value will equal the hostname or IP address of the server.<P><DD><DL><DT><B>Returns:</B><DD>the name of the XMPP domain that this server is part of.</DL></DD></DL><HR><A NAME="setXMPPDomain(java.lang.String)"><!-- --></A><H3>setXMPPDomain</H3><PRE>void <B>setXMPPDomain</B>(<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;domainName)</PRE><DL><DD>Set the server XMPP domain name. The server must be restarted for this change to take effect.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>domainName</CODE> - the XMPP domain that this server is part of.</DL></DD></DL><HR><A NAME="getLastStarted()"><!-- --></A><H3>getLastStarted</H3><PRE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> <B>getLastStarted</B>()</PRE><DL><DD>Obtain the date when the server was last started.<P><DD><DL><DT><B>Returns:</B><DD>the date the server was started or null if server has not been started.</DL></DD></DL><HR><A NAME="getServerPorts()"><!-- --></A><H3>getServerPorts</H3><PRE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../org/jivesoftware/openfire/ServerPort.html" title="class in org.jivesoftware.openfire">ServerPort</A>&gt; <B>getServerPorts</B>()</PRE><DL><DD>Obtain the server ports active on this server.<P><DD><DL><DT><B>Returns:</B><DD>an iterator over the server ports for this server.</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/XMPPServer.html" title="class in org.jivesoftware.openfire"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jivesoftware/openfire/XMPPServerListener.html" title="interface 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/XMPPServerInfo.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="XMPPServerInfo.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;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&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 + -