Package io.grpc.netty

Class ProtocolNegotiators.HostPort

  • Enclosing class:
    ProtocolNegotiators

    static final class ProtocolNegotiators.HostPort
    extends java.lang.Object
    A tuple of (host, port).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String host  
      (package private) int port  
    • Constructor Summary

      Constructors 
      Constructor Description
      HostPort​(java.lang.String host, int port)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • host

        final java.lang.String host
      • port

        final int port
    • Constructor Detail

      • HostPort

        public HostPort​(java.lang.String host,
                        int port)