Class ResolvedServiceAddress


  • @Immutable
    public class ResolvedServiceAddress
    extends Object
    A representation of an Internet Protocol-based socket address (an IP address and port) for a (presumably XMPP) service. Instances of this class are intended to represent results of DNS resolution, intended to be used when setting up a network connection to a remote XMPP service.
    Author:
    Guus der Kinderen, guus@goodbytes.nl
    • Constructor Detail

      • ResolvedServiceAddress

        public ResolvedServiceAddress​(@Nonnull
                                      InetAddress inetAddress,
                                      int port,
                                      boolean isDirectTLS)
    • Method Detail

      • getPort

        public int getPort()
      • isDirectTLS

        public boolean isDirectTLS()
      • isIPv6

        public boolean isIPv6()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object