Class ServerAddress


  • public class ServerAddress
    extends Object
    Encapsulate a Thrift server and the address, host and port, to which it is bound.
    • Field Detail

      • server

        public final org.apache.thrift.server.TServer server
      • address

        public final com.google.common.net.HostAndPort address
    • Constructor Detail

      • ServerAddress

        public ServerAddress​(org.apache.thrift.server.TServer server,
                             com.google.common.net.HostAndPort address)
    • Method Detail

      • getServer

        public org.apache.thrift.server.TServer getServer()
      • getAddress

        public com.google.common.net.HostAndPort getAddress()