public class ProxyServer extends Object implements INetworkComponent
| Modifier and Type | Field and Description |
|---|---|
private io.netty.channel.Channel |
channel |
private long |
channelLostTime |
private de.dytanic.cloudnet.lib.server.info.ProxyInfo |
lastProxyInfo |
private NetworkInfo |
networkInfo |
private de.dytanic.cloudnet.lib.server.ProxyProcessMeta |
processMeta |
private de.dytanic.cloudnet.lib.server.info.ProxyInfo |
proxyInfo |
private de.dytanic.cloudnet.lib.service.ServiceId |
serviceId |
private Wrapper |
wrapper |
| Constructor and Description |
|---|
ProxyServer(de.dytanic.cloudnet.lib.server.ProxyProcessMeta processMeta,
Wrapper wrapper,
de.dytanic.cloudnet.lib.server.info.ProxyInfo proxyInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect() |
io.netty.channel.Channel |
getChannel() |
long |
getChannelLostTime() |
de.dytanic.cloudnet.lib.server.info.ProxyInfo |
getLastProxyInfo() |
String |
getName() |
NetworkInfo |
getNetworkInfo() |
de.dytanic.cloudnet.lib.server.ProxyProcessMeta |
getProcessMeta() |
de.dytanic.cloudnet.lib.server.info.ProxyInfo |
getProxyInfo() |
String |
getServerId() |
de.dytanic.cloudnet.lib.service.ServiceId |
getServiceId() |
Wrapper |
getWrapper() |
void |
sendCustomMessage(String channel,
String message,
de.dytanic.cloudnet.lib.utility.document.Document value) |
void |
setChannel(io.netty.channel.Channel channel) |
void |
setChannelLostTime(long channelLostTime) |
void |
setLastProxyInfo(de.dytanic.cloudnet.lib.server.info.ProxyInfo lastProxyInfo) |
void |
setProxyInfo(de.dytanic.cloudnet.lib.server.info.ProxyInfo proxyInfo) |
clone, equals, finalize, getClass, hashCode, 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 Wrapper wrapper
private NetworkInfo networkInfo
private long channelLostTime
private io.netty.channel.Channel channel
private de.dytanic.cloudnet.lib.server.info.ProxyInfo proxyInfo
private de.dytanic.cloudnet.lib.server.info.ProxyInfo lastProxyInfo
private de.dytanic.cloudnet.lib.server.ProxyProcessMeta processMeta
public ProxyServer(de.dytanic.cloudnet.lib.server.ProxyProcessMeta processMeta,
Wrapper wrapper,
de.dytanic.cloudnet.lib.server.info.ProxyInfo proxyInfo)
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.service.ServiceId getServiceId()
public de.dytanic.cloudnet.lib.server.info.ProxyInfo getProxyInfo()
public void setProxyInfo(de.dytanic.cloudnet.lib.server.info.ProxyInfo proxyInfo)
public long getChannelLostTime()
public void setChannelLostTime(long channelLostTime)
public NetworkInfo getNetworkInfo()
public de.dytanic.cloudnet.lib.server.info.ProxyInfo getLastProxyInfo()
public void setLastProxyInfo(de.dytanic.cloudnet.lib.server.info.ProxyInfo lastProxyInfo)
public de.dytanic.cloudnet.lib.server.ProxyProcessMeta getProcessMeta()
public void disconnect()
public void sendCustomMessage(String channel, String message, de.dytanic.cloudnet.lib.utility.document.Document value)
public String getName()
getName in interface de.dytanic.cloudnet.lib.interfaces.Nameablepublic Wrapper getWrapper()
getWrapper in interface INetworkComponentpublic String getServerId()
getServerId in interface INetworkComponentCopyright © 2020. All rights reserved.