Package com.ocient.jdbc
Class XGConnection.RemoteEndpoint
java.lang.Object
com.ocient.jdbc.XGConnection.RemoteEndpoint
- Enclosing class:
XGConnection
Represents an addressable endpoint for a network interface
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteEndpoint(String host, List<String> translatedIPs, int port, int index) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetNode()inthashCode()booleanisExactMatch(String host, int port) static XGConnection.RemoteEndpointbooleanresolvesTo(String ip, int port) toString()
-
Constructor Details
-
RemoteEndpoint
-
-
Method Details
-
resolve
public static XGConnection.RemoteEndpoint resolve(String host, int port, int index) throws UnknownHostException - Throws:
UnknownHostException
-
getNode
-
isExactMatch
-
resolvesTo
-
hashCode
public int hashCode() -
equals
-
toString
-