@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        ActiveConnection that = (ActiveConnection) o;

        if (ipSource != null ? !ipSource.equals(that.ipSource) : that.ipSource != null) return false;
        if (uri != null ? !uri.equals(that.uri) : that.uri != null) return false;

        return true;
    }