implemented equals and hashCode methods for the ConnectionParameter class.