Class 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.StatusClient INSTANCE  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.net.InetSocketAddress getAddress()  
      @NotNull org.spongepowered.api.MinecraftVersion getVersion()  
      @NotNull java.util.Optional<java.net.InetSocketAddress> getVirtualHost()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INSTANCE

        public static final org.spongepowered.api.network.status.StatusClient INSTANCE
    • Constructor Detail

      • CloudNetSpongeStatusClient

        public CloudNetSpongeStatusClient()
    • Method Detail

      • getAddress

        @NotNull
        public @NotNull java.net.InetSocketAddress getAddress()
        Specified by:
        getAddress in interface org.spongepowered.api.network.status.StatusClient
      • getVersion

        @NotNull
        public @NotNull org.spongepowered.api.MinecraftVersion getVersion()
        Specified by:
        getVersion in interface org.spongepowered.api.network.status.StatusClient
      • getVirtualHost

        @NotNull
        public @NotNull java.util.Optional<java.net.InetSocketAddress> getVirtualHost()
        Specified by:
        getVirtualHost in interface org.spongepowered.api.network.status.StatusClient