Class NetworkConnectionInfo


  • public class NetworkConnectionInfo
    extends java.lang.Object
    • Field Detail

      • TYPE

        public static final java.lang.reflect.Type TYPE
      • uniqueId

        protected java.util.UUID uniqueId
      • name

        protected java.lang.String name
      • version

        protected int version
      • onlineMode

        protected boolean onlineMode
      • legacy

        protected boolean legacy
    • Constructor Detail

      • NetworkConnectionInfo

        public NetworkConnectionInfo​(java.util.UUID uniqueId,
                                     java.lang.String name,
                                     int version,
                                     HostAndPort address,
                                     HostAndPort listener,
                                     boolean onlineMode,
                                     boolean legacy,
                                     NetworkServiceInfo networkService)
      • NetworkConnectionInfo

        public NetworkConnectionInfo()
    • Method Detail

      • getUniqueId

        public java.util.UUID getUniqueId()
      • setUniqueId

        public void setUniqueId​(java.util.UUID uniqueId)
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getVersion

        public int getVersion()
      • setVersion

        public void setVersion​(int version)
      • setAddress

        public void setAddress​(HostAndPort address)
      • setListener

        public void setListener​(HostAndPort listener)
      • isOnlineMode

        public boolean isOnlineMode()
      • setOnlineMode

        public void setOnlineMode​(boolean onlineMode)
      • isLegacy

        public boolean isLegacy()
      • setLegacy

        public void setLegacy​(boolean legacy)
      • setNetworkService

        public void setNetworkService​(NetworkServiceInfo networkService)