Class DefaultPortInfo
java.lang.Object
com.couchbase.client.dcp.core.config.DefaultPortInfo
- All Implemented Interfaces:
PortInfo
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPortInfo(Map<String, Integer> services, String hostname, Map<String, AlternateAddress> aa) Creates a newDefaultPortInfo. -
Method Summary
-
Constructor Details
-
DefaultPortInfo
public DefaultPortInfo(Map<String, Integer> services, String hostname, Map<String, AlternateAddress> aa) Creates a newDefaultPortInfo. Note that if the hostname is null (not provided by the server), it is explicitly set to null because otherwise the loaded InetAddress would point to localhost.- Parameters:
services- the list of services mapping to ports.
-
-
Method Details