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

📄 xmppserverinfoimpl.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
                          <A HREF="../../../../org/jivesoftware/util/Version.html" title="class in org.jivesoftware.util">Version</A>&nbsp;version,                          <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>&nbsp;startDate,                          <A HREF="../../../../org/jivesoftware/openfire/ConnectionManager.html" title="interface in org.jivesoftware.openfire">ConnectionManager</A>&nbsp;connectionManager)</PRE><DL><DD>Simple constructor<P><DL><DT><B>Parameters:</B><DD><CODE>xmppDomain</CODE> - the server's XMPP domain name (e.g. example.org).<DD><CODE>hostname</CODE> - the server's host name (e.g. server1.example.org).<DD><CODE>version</CODE> - the server's version number.<DD><CODE>startDate</CODE> - the server's last start time (can be null indicating      it hasn't been started).<DD><CODE>connectionManager</CODE> - the object that keeps track of the active ports.</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="getVersion()"><!-- --></A><H3>getVersion</H3><PRE>public <A HREF="../../../../org/jivesoftware/util/Version.html" title="class in org.jivesoftware.util">Version</A> <B>getVersion</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getVersion()">XMPPServerInfo</A></CODE></B></DD><DD>Obtain the server's version information. Typically used for iq:version and logging information.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getVersion()">getVersion</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html" title="interface in org.jivesoftware.openfire">XMPPServerInfo</A></CODE></DL></DD><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>public <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;<P><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getName()">XMPPServerInfo</A></CODE></B></DD><DD>Obtain the server name (IP address or hostname).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html" title="interface in org.jivesoftware.openfire">XMPPServerInfo</A></CODE></DL></DD><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>public 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;<P><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#setName(java.lang.String)">XMPPServerInfo</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#setName(java.lang.String)">setName</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html" title="interface in org.jivesoftware.openfire">XMPPServerInfo</A></CODE></DL></DD><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>public <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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getHostname()">XMPPServerInfo</A></CODE></B></DD><DD>Obtain the host name (IP address or hostname) of this server node.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getHostname()">getHostname</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html" title="interface in org.jivesoftware.openfire">XMPPServerInfo</A></CODE></DL></DD><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>public <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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getXMPPDomain()">XMPPServerInfo</A></CODE></B></DD><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>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getXMPPDomain()">getXMPPDomain</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html" title="interface in org.jivesoftware.openfire">XMPPServerInfo</A></CODE></DL></DD><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>public 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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#setXMPPDomain(java.lang.String)">XMPPServerInfo</A></CODE></B></DD><DD>Set the server XMPP domain name. The server must be restarted for this change to take effect.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#setXMPPDomain(java.lang.String)">setXMPPDomain</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html" title="interface in org.jivesoftware.openfire">XMPPServerInfo</A></CODE></DL></DD><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>public <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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getLastStarted()">XMPPServerInfo</A></CODE></B></DD><DD>Obtain the date when the server was last started.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getLastStarted()">getLastStarted</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html" title="interface in org.jivesoftware.openfire">XMPPServerInfo</A></CODE></DL></DD><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>public <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><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getServerPorts()">XMPPServerInfo</A></CODE></B></DD><DD>Obtain the server ports active on this server.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html#getServerPorts()">getServerPorts</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/XMPPServerInfo.html" title="interface in org.jivesoftware.openfire">XMPPServerInfo</A></CODE></DL></DD><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/spi/RoutingTableImpl.html" title="class in org.jivesoftware.openfire.spi"><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/spi/XMPPServerInfoImpl.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="XMPPServerInfoImpl.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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 + -