Class CloudNetSpongeStatusClient
- java.lang.Object
-
- de.dytanic.cloudnet.ext.bridge.sponge.platform.CloudNetSpongeStatusClient
-
- All Implemented Interfaces:
org.spongepowered.api.network.status.StatusClient
public class CloudNetSpongeStatusClient extends java.lang.Object implements org.spongepowered.api.network.status.StatusClient
-
-
Field Summary
Fields Modifier and Type Field Description static org.spongepowered.api.network.status.StatusClientINSTANCE
-
Constructor Summary
Constructors Constructor Description CloudNetSpongeStatusClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.net.InetSocketAddressgetAddress()@NotNull org.spongepowered.api.MinecraftVersiongetVersion()@NotNull java.util.Optional<java.net.InetSocketAddress>getVirtualHost()
-
-
-
Method Detail
-
getAddress
@NotNull public @NotNull java.net.InetSocketAddress getAddress()
- Specified by:
getAddressin interfaceorg.spongepowered.api.network.status.StatusClient
-
getVersion
@NotNull public @NotNull org.spongepowered.api.MinecraftVersion getVersion()
- Specified by:
getVersionin interfaceorg.spongepowered.api.network.status.StatusClient
-
getVirtualHost
@NotNull public @NotNull java.util.Optional<java.net.InetSocketAddress> getVirtualHost()
- Specified by:
getVirtualHostin interfaceorg.spongepowered.api.network.status.StatusClient
-
-