public final class NetworkManager extends Object
| Modifier and Type | Field and Description |
|---|---|
private MessageConfig |
messageConfig |
private de.dytanic.cloudnet.lib.utility.document.Document |
moduleProperties |
private Map<UUID,de.dytanic.cloudnet.lib.player.CloudPlayer> |
onlinePlayers |
private Map<UUID,de.dytanic.cloudnet.lib.player.CloudPlayer> |
waitingPlayers |
| Constructor and Description |
|---|
NetworkManager() |
| Modifier and Type | Method and Description |
|---|---|
MessageConfig |
getMessageConfig() |
de.dytanic.cloudnet.lib.utility.document.Document |
getModuleProperties() |
int |
getOnlineCount() |
de.dytanic.cloudnet.lib.player.CloudPlayer |
getOnlinePlayer(UUID uniqueId) |
Map<UUID,de.dytanic.cloudnet.lib.player.CloudPlayer> |
getOnlinePlayers() |
de.dytanic.cloudnet.lib.player.CloudPlayer |
getPlayer(String name) |
Map<UUID,de.dytanic.cloudnet.lib.player.CloudPlayer> |
getWaitingPlayers() |
void |
handleCommandExecute(de.dytanic.cloudnet.lib.player.PlayerCommandExecution playerCommandExecutor) |
void |
handleCustomChannelMessage(String channel,
String message,
de.dytanic.cloudnet.lib.utility.document.Document document,
de.dytanic.cloudnet.lib.network.protocol.packet.PacketSender packetSender) |
void |
handlePlayerLogin(de.dytanic.cloudnet.lib.player.CloudPlayer loginPlayer) |
void |
handlePlayerLoginRequest(ProxyServer proxyServer,
de.dytanic.cloudnet.lib.player.PlayerConnection cloudPlayerConnection,
UUID uniqueId) |
void |
handlePlayerLogout(de.dytanic.cloudnet.lib.player.CloudPlayer playerWhereAmI) |
void |
handlePlayerLogout(UUID uniqueId,
ProxyServer proxyServer) |
void |
handlePlayerUpdate(de.dytanic.cloudnet.lib.player.CloudPlayer cloudPlayer) |
void |
handleProxyAdd(ProxyServer proxyServer) |
void |
handleProxyInfoUpdate(ProxyServer proxyServer,
de.dytanic.cloudnet.lib.server.info.ProxyInfo incoming) |
void |
handleProxyRemove(ProxyServer proxyServer) |
void |
handleScreen(INetworkComponent iNetworkComponent,
Collection<de.dytanic.cloudnet.lib.server.screen.ScreenInfo> screenInfos) |
void |
handleServerAdd(CloudServer minecraftServer) |
void |
handleServerAdd(MinecraftServer minecraftServer) |
void |
handleServerInfoUpdate(CloudServer minecraftServer,
de.dytanic.cloudnet.lib.server.info.ServerInfo incoming) |
void |
handleServerInfoUpdate(MinecraftServer minecraftServer,
de.dytanic.cloudnet.lib.server.info.ServerInfo incoming) |
void |
handleServerRemove(CloudServer minecraftServer) |
void |
handleServerRemove(MinecraftServer minecraftServer) |
NetworkManager |
handleServerUpdate(de.dytanic.cloudnet.lib.server.info.ServerInfo serverInfo) |
void |
handleWrapperScreenInput(Wrapper wrapper,
de.dytanic.cloudnet.lib.service.wrapper.WrapperScreen wrapperScreen) |
de.dytanic.cloudnet.lib.CloudNetwork |
newCloudNetwork() |
void |
reload() |
NetworkManager |
sendAll(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet) |
NetworkManager |
sendAll(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet,
ChannelFilter filter) |
void |
sendAllUpdate(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet) |
void |
sendProxyMessage(String channel,
String message,
de.dytanic.cloudnet.lib.utility.document.Document document) |
NetworkManager |
sendToLobbys(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet) |
NetworkManager |
sendToProxy(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet) |
NetworkManager |
sendWrappers(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet) |
void |
updateAll() |
void |
updateAll0() |
private de.dytanic.cloudnet.lib.utility.document.Document moduleProperties
private MessageConfig messageConfig
public de.dytanic.cloudnet.lib.utility.document.Document getModuleProperties()
public MessageConfig getMessageConfig()
public void reload()
public void updateAll()
public de.dytanic.cloudnet.lib.CloudNetwork newCloudNetwork()
public NetworkManager sendAll(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet)
public int getOnlineCount()
public NetworkManager sendAll(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet, ChannelFilter filter)
public void updateAll0()
public void handlePlayerLoginRequest(ProxyServer proxyServer, de.dytanic.cloudnet.lib.player.PlayerConnection cloudPlayerConnection, UUID uniqueId)
public void handlePlayerLogin(de.dytanic.cloudnet.lib.player.CloudPlayer loginPlayer)
public void sendAllUpdate(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet)
public void handlePlayerLogout(de.dytanic.cloudnet.lib.player.CloudPlayer playerWhereAmI)
public void handlePlayerLogout(UUID uniqueId, ProxyServer proxyServer)
public void handleServerAdd(MinecraftServer minecraftServer)
public void handleServerAdd(CloudServer minecraftServer)
public void handleServerInfoUpdate(MinecraftServer minecraftServer, de.dytanic.cloudnet.lib.server.info.ServerInfo incoming)
public void handleServerInfoUpdate(CloudServer minecraftServer, de.dytanic.cloudnet.lib.server.info.ServerInfo incoming)
public void handleProxyInfoUpdate(ProxyServer proxyServer, de.dytanic.cloudnet.lib.server.info.ProxyInfo incoming)
public void handleServerRemove(MinecraftServer minecraftServer)
public void handleServerRemove(CloudServer minecraftServer)
public void handleProxyAdd(ProxyServer proxyServer)
public NetworkManager sendToLobbys(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet)
public void handleProxyRemove(ProxyServer proxyServer)
public void handleCommandExecute(de.dytanic.cloudnet.lib.player.PlayerCommandExecution playerCommandExecutor)
public de.dytanic.cloudnet.lib.player.CloudPlayer getPlayer(String name)
public void handlePlayerUpdate(de.dytanic.cloudnet.lib.player.CloudPlayer cloudPlayer)
public void handleCustomChannelMessage(String channel, String message, de.dytanic.cloudnet.lib.utility.document.Document document, de.dytanic.cloudnet.lib.network.protocol.packet.PacketSender packetSender)
public void handleWrapperScreenInput(Wrapper wrapper, de.dytanic.cloudnet.lib.service.wrapper.WrapperScreen wrapperScreen)
public void sendProxyMessage(String channel, String message, de.dytanic.cloudnet.lib.utility.document.Document document)
public NetworkManager sendToProxy(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet)
public void handleScreen(INetworkComponent iNetworkComponent, Collection<de.dytanic.cloudnet.lib.server.screen.ScreenInfo> screenInfos)
public NetworkManager sendWrappers(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet)
public de.dytanic.cloudnet.lib.player.CloudPlayer getOnlinePlayer(UUID uniqueId)
public NetworkManager handleServerUpdate(de.dytanic.cloudnet.lib.server.info.ServerInfo serverInfo)
Copyright © 2020. All rights reserved.