All files / src/Ice Instance.js

100% Statements 34/34
100% Branches 2/2
100% Functions 1/1
100% Lines 34/34

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 32 33 34 3541x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 67x 41x  
// Copyright (c) ZeroC, Inc.
 
import { ToStringMode } from "./ToStringMode.js";
 
export const StateActive = 0;
export const StateDestroyInProgress = 1;
export const StateDestroyed = 2;
 
//
// Instance - only for use by Communicator
//
export class Instance {
    constructor(initData) {
        this._state = StateActive;
        this._initData = initData;
 
        this._traceLevels = null;
        this._defaultsAndOverrides = null;
        this._clientConnectionOptions = null;
        this._messageSizeMax = 0;
        this._batchAutoFlushSize = 0;
        this._classGraphDepthMax = 0;
        this._toStringMode = ToStringMode.Unicode;
        this._implicitContext = null;
        this._routerManager = null;
        this._locatorManager = null;
        this._referenceFactory = null;
        this._outgoingConnectionFactory = null;
        this._objectAdapterFactory = null;
        this._retryQueue = null;
        this._endpointHostResolver = null;
        this._endpointFactoryManager = null;
    }
}