de.mklinger.qetcher.client.model.v1.NodeAddress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qetcher-client-bundle Show documentation
Show all versions of qetcher-client-bundle Show documentation
Qetcher Java client, OSGi bundle, minimal dependencies
package de.mklinger.qetcher.client.model.v1;
/**
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public interface NodeAddress {
String getHost();
String toHostUriString();
int getPort();
String toUriString();
/**
* Two node addresses are considered equal, if hosts and ports are equal.
*/
@Override
boolean equals(Object obj);
/**
* Two node addresses with equal hosts and ports produce the same hash code.
*/
@Override
int hashCode();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy