All files / src/Ice ConnectionOptions.js

100% Statements 31/31
100% Branches 7/7
100% Functions 6/6
100% Lines 31/31

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3241x 41x 41x 41x 67x 67x 67x 67x 67x 67x 41x 41x 321x 321x 41x 41x 321x 321x 41x 41x 641x 641x 41x 41x 320x 320x 41x 41x 321x 321x 41x  
// Copyright (c) ZeroC, Inc.
 
export class ConnectionOptions {
    constructor(connectTimeout, closeTimeout, idleTimeout, enableIdleCheck, inactivityTimeout) {
        this._connectTimeout = connectTimeout;
        this._closeTimeout = closeTimeout;
        this._idleTimeout = idleTimeout;
        this._enableIdleCheck = enableIdleCheck;
        this._inactivityTimeout = inactivityTimeout;
    }
 
    get connectTimeout() {
        return this._connectTimeout;
    }
 
    get closeTimeout() {
        return this._closeTimeout;
    }
 
    get idleTimeout() {
        return this._idleTimeout;
    }
 
    get enableIdleCheck() {
        return this._enableIdleCheck;
    }
 
    get inactivityTimeout() {
        return this._inactivityTimeout;
    }
}