qbit/core/src/main/java/io/advantageous/qbit/service/discovery/EndpointDefinition.java
public static EndpointDefinition serviceDefinition(
            final String name,
            final String host,
            final int port) {

        return new EndpointDefinition(HealthStatus.PASS,
                name + "-" + uniqueString(port), name, host, port);
    }
public static EndpointDefinition serviceDefinition(
            final String name,
            final String host,
            final int port) {

        return new EndpointDefinition(HealthStatus.PASS,
                name + "-" + uniqueString(port), name, host, port);
    }
Creates a EndpointDefinition for a service, i.e., a serviceDefinition.

@param name name
@param host host
@param port port
@return serviceDefinition