Sha256: 7e174749ceda1466c41588601dbc4b3ba32b243976c828c3c029f451572dd90a
Contents?: true
Size: 757 Bytes
Versions: 5
Compression:
Stored size: 757 Bytes
Contents
const ConnectionType = require('../ConnectionType') const IConnectionData = require('./IConnectionData') /** * @extends IConnectionData */ class InMemoryConnectionData extends IConnectionData { constructor() { super() this._connectionType = ConnectionType.IN_MEMORY this._hostname = '' } get connectionType() { return this._connectionType } get hostname() { return this._hostname } serializeConnectionData() { return [this.connectionType, 0, 0, 0, 0, 0, 0] } /** * @param {InMemoryConnectionData} other * @returns {boolean} */ equals(other) { return other instanceof InMemoryConnectionData } } module.exports = InMemoryConnectionData
Version data entries
5 entries across 5 versions & 1 rubygems