MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / getEndpoint

Method getEndpoint

lib/control-connection.js:1044–1050  ·  view source on GitHub ↗

* Gets the address and port of host the control connection is connected to. * @returns {String|undefined}

()

Source from the content-addressed store, hash-verified

1042 * @returns {String|undefined}
1043 */
1044 getEndpoint() {
1045 if (!this.connection) {
1046 return undefined;
1047 }
1048
1049 return this.connection.endpoint;
1050 }
1051}
1052
1053/**

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected