public class CloudServer extends Object implements INetworkComponent
| Modifier and Type | Field and Description |
|---|---|
private io.netty.channel.Channel |
channel |
private de.dytanic.cloudnet.lib.cloudserver.CloudServerMeta |
cloudServerMeta |
private de.dytanic.cloudnet.lib.server.info.ServerInfo |
lastServerInfo |
private de.dytanic.cloudnet.lib.server.ServerGroupType |
serverGroupType |
private de.dytanic.cloudnet.lib.server.info.ServerInfo |
serverInfo |
private de.dytanic.cloudnet.lib.service.ServiceId |
serviceId |
private Wrapper |
wrapper |
| Constructor and Description |
|---|
CloudServer(Wrapper wrapper,
de.dytanic.cloudnet.lib.server.info.ServerInfo serverInfo,
de.dytanic.cloudnet.lib.cloudserver.CloudServerMeta cloudServerMeta) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect() |
boolean |
equals(Object o) |
io.netty.channel.Channel |
getChannel() |
de.dytanic.cloudnet.lib.cloudserver.CloudServerMeta |
getCloudServerMeta() |
de.dytanic.cloudnet.lib.server.info.ServerInfo |
getLastServerInfo() |
String |
getName() |
de.dytanic.cloudnet.lib.server.ServerGroupType |
getServerGroupType() |
String |
getServerId() |
de.dytanic.cloudnet.lib.server.info.ServerInfo |
getServerInfo() |
de.dytanic.cloudnet.lib.service.ServiceId |
getServiceId() |
Wrapper |
getWrapper() |
int |
hashCode() |
void |
setChannel(io.netty.channel.Channel channel) |
void |
setLastServerInfo(de.dytanic.cloudnet.lib.server.info.ServerInfo lastServerInfo) |
void |
setServerInfo(de.dytanic.cloudnet.lib.server.info.ServerInfo serverInfo) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitsend, send, send, sendAsynchronized, sendAsynchronized, sendAsynchronized, sendPacket, sendPacket, sendPacketSynchronized, sendSynchronized, sendSynchronized, sendSynchronizedprivate de.dytanic.cloudnet.lib.service.ServiceId serviceId
private de.dytanic.cloudnet.lib.cloudserver.CloudServerMeta cloudServerMeta
private Wrapper wrapper
private de.dytanic.cloudnet.lib.server.ServerGroupType serverGroupType
private de.dytanic.cloudnet.lib.server.info.ServerInfo serverInfo
private de.dytanic.cloudnet.lib.server.info.ServerInfo lastServerInfo
private io.netty.channel.Channel channel
public CloudServer(Wrapper wrapper, de.dytanic.cloudnet.lib.server.info.ServerInfo serverInfo, de.dytanic.cloudnet.lib.cloudserver.CloudServerMeta cloudServerMeta)
public de.dytanic.cloudnet.lib.server.info.ServerInfo getServerInfo()
public void setServerInfo(de.dytanic.cloudnet.lib.server.info.ServerInfo serverInfo)
public io.netty.channel.Channel getChannel()
getChannel in interface de.dytanic.cloudnet.lib.network.ChannelUserpublic void setChannel(io.netty.channel.Channel channel)
setChannel in interface de.dytanic.cloudnet.lib.network.ChannelUserpublic de.dytanic.cloudnet.lib.cloudserver.CloudServerMeta getCloudServerMeta()
public de.dytanic.cloudnet.lib.server.ServerGroupType getServerGroupType()
public de.dytanic.cloudnet.lib.server.info.ServerInfo getLastServerInfo()
public void setLastServerInfo(de.dytanic.cloudnet.lib.server.info.ServerInfo lastServerInfo)
public de.dytanic.cloudnet.lib.service.ServiceId getServiceId()
public String getName()
getName in interface de.dytanic.cloudnet.lib.interfaces.Nameablepublic Wrapper getWrapper()
getWrapper in interface INetworkComponentpublic String getServerId()
getServerId in interface INetworkComponentpublic void disconnect()
Copyright © 2020. All rights reserved.