in src/internal/ClientSocket.ts [140:161]
constructor(endpoint: string, config: IgniteClientConfiguration, communicator: BinaryCommunicator, onSocketDisconnect: Function, onAffinityTopologyChange: Function) {
ArgumentChecker.notEmpty(endpoint, 'endpoints');
this._endpoint = endpoint;
this._parseEndpoint(endpoint);
this._config = config;
this._communicator = communicator;
this._onSocketDisconnect = onSocketDisconnect;
this._onAffinityTopologyChange = onAffinityTopologyChange;
this._state = STATE.INITIAL;
this._requests = new Map<string, Request>();
this._requestId = Long.ZERO;
this._handshakeRequestId = null;
this._protocolVersion = null;
this._wasConnected = false;
this._socket = null;
this._buffer = null;
this._offset = 0;
this._error = null;
this._nodeUuid = null;
}