public class XMPPServerInfoImpl extends Object implements XMPPServerInfo
| Constructor and Description |
|---|
XMPPServerInfoImpl(String xmppDomain,
String hostname,
Version version,
Date startDate)
Simple constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHostname()
Obtain the host name (IP address or hostname) of this server node.
|
Date |
getLastStarted()
Obtain the date when the server was last started.
|
Collection<ServerPort> |
getServerPorts()
Obtain the server ports active on this server.
|
Version |
getVersion()
Obtain the server's version information.
|
String |
getXMPPDomain()
Obtain the server XMPP domain name.
|
void |
setXMPPDomain(String domainName)
Set the server XMPP domain name.
|
public XMPPServerInfoImpl(String xmppDomain, String hostname, Version version, Date startDate)
xmppDomain - the server's XMPP domain name (e.g. example.org).hostname - the server's host name (e.g. server1.example.org).version - the server's version number.startDate - the server's last start time (can be null indicating
it hasn't been started).public Version getVersion()
XMPPServerInfogetVersion in interface XMPPServerInfopublic String getHostname()
XMPPServerInfogetHostname in interface XMPPServerInfopublic String getXMPPDomain()
XMPPServerInfogetXMPPDomain in interface XMPPServerInfopublic void setXMPPDomain(String domainName)
XMPPServerInfosetXMPPDomain in interface XMPPServerInfodomainName - the XMPP domain that this server is part of.public Date getLastStarted()
XMPPServerInfogetLastStarted in interface XMPPServerInfopublic Collection<ServerPort> getServerPorts()
XMPPServerInfogetServerPorts in interface XMPPServerInfoCopyright © 2003-2008 Jive Software.