Sha256: 3f3e3179a6f2d79b7bca68415bc9bbf6b7012df04e166ceac9e104f85fde4374
Contents?: true
Size: 651 Bytes
Versions: 7
Compression:
Stored size: 651 Bytes
Contents
const ConnectionType = require('../../utils/ConnectionType'); const IConnectionData = require('./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]; } equals(other) { return other instanceof InMemoryConnectionData; } } module.exports = InMemoryConnectionData;
Version data entries
7 entries across 7 versions & 1 rubygems