Class SubServerImpl
java.lang.Object
net.md_5.bungee.BungeeServerInfo
net.ME1312.SubServers.Sync.Server.ServerImpl
net.ME1312.SubServers.Sync.Server.SubServerImpl
- All Implemented Interfaces:
ServerInfo
SubServer Class
-
Field Summary
Fields inherited from class net.ME1312.SubServers.Sync.Server.ServerImpl
whitelist
-
Constructor Summary
ModifierConstructorDescriptionprotected
SubServerImpl
(String signature, String name, String display, InetSocketAddress address, Map<Integer, UUID> subdata, String motd, boolean hidden, boolean restricted, Collection<UUID> whitelist, boolean running) protected
SubServerImpl
(String signature, String name, String display, SocketAddress address, Map<Integer, UUID> subdata, String motd, boolean hidden, boolean restricted, Collection<UUID> whitelist, boolean running) -
Method Summary
Modifier and TypeMethodDescriptionstatic SubServerImpl
construct
(String signature, String name, String display, SocketAddress address, Map<Integer, UUID> subdata, String motd, boolean hidden, boolean restricted, Collection<UUID> whitelist, boolean running) boolean
Gets the Running Statusvoid
setRunning
(boolean running) Sets the Running StatusMethods inherited from class net.ME1312.SubServers.Sync.Server.ServerImpl
canAccess, construct, getDisplayName, getRemotePlayers, getSignature, getSubData, isHidden, setDisplayName, setHidden, setMotd, setRestricted, setSubData, unwhitelist, whitelist
Methods inherited from class net.md_5.bungee.BungeeServerInfo
addPlayer, cachePing, equals, getAddress, getMotd, getName, getPacketQueue, getPermission, getPlayers, getSocketAddress, hashCode, isRestricted, ping, ping, removePlayer, sendData, sendData, toString
-
Constructor Details
-
SubServerImpl
protected SubServerImpl(String signature, String name, String display, SocketAddress address, Map<Integer, UUID> subdata, String motd, boolean hidden, boolean restricted, Collection<UUID> whitelist, boolean running) -
SubServerImpl
protected SubServerImpl(String signature, String name, String display, InetSocketAddress address, Map<Integer, UUID> subdata, String motd, boolean hidden, boolean restricted, Collection<UUID> whitelist, boolean running)
-
-
Method Details
-
construct
public static SubServerImpl construct(String signature, String name, String display, SocketAddress address, Map<Integer, UUID> subdata, String motd, boolean hidden, boolean restricted, Collection<UUID> whitelist, boolean running) -
isRunning
public boolean isRunning()Gets the Running Status- Returns:
- Running Status
-
setRunning
public void setRunning(boolean running) Sets the Running Status- Parameters:
running
- Running Status
-