@Override
    public boolean equals(Object o)
    {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ResolvedServiceAddress that = (ResolvedServiceAddress) o;
        return port == that.port && isDirectTLS == that.isDirectTLS && Objects.equals(inetAddress, that.inetAddress);
    }
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
xmppserver/src/main/java/org/jivesoftware/openfire/net/ResolvedServiceAddress.java