public class XMPPServerInfoImpl extends Object implements XMPPServerInfo
Modifier and Type | Field and Description |
---|---|
static Version |
VERSION |
XMPP_DOMAIN
Constructor and Description |
---|
XMPPServerInfoImpl(Date startDate)
Simple constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getHostname()
Obtain the fully qualified domain name (hostname or IP address) of this server node.
|
Date |
getLastStarted()
Obtain the date when the server was last started.
|
Version |
getVersion()
Obtain the server's version information.
|
String |
getXMPPDomain()
Obtain the server XMPP domain name, which is equal for all server nodes in an Openfire cluster.
|
void |
setHostname(String fqdn)
Sets the fully qualified domain name of this server node.
|
public static final Version VERSION
public XMPPServerInfoImpl(Date startDate)
startDate
- the server's last start time (can be null indicating
it hasn't been started).public Version getVersion()
XMPPServerInfo
getVersion
in interface XMPPServerInfo
public String getHostname()
XMPPServerInfo
getHostname
in interface XMPPServerInfo
public void setHostname(String fqdn)
XMPPServerInfo
setHostname
in interface XMPPServerInfo
fqdn
- The hostname. When null or empty, a system default will be used instead.public String getXMPPDomain()
XMPPServerInfo
getXMPPDomain
in interface XMPPServerInfo
public Date getLastStarted()
XMPPServerInfo
getLastStarted
in interface XMPPServerInfo
Copyright © 2003–2020 Ignite Realtime. All rights reserved.