public IbClient() { disposed = false; ibClientConnection = new IbClientConnection(); Request = new IbClientRequestHandler(ibClientConnection); Response = new IbClientResponseHandler(ibClientConnection); }
public IbClient() { disposed = false; ibClientConnection = new IbClientConnection(); Request = new IbClientRequestHandler(ibClientConnection); Response = new IbClientResponseHandler(ibClientConnection); }
protected virtual void Dispose(bool disposing) { if (!disposed) { if (disposing) { if (Response.IsProcessing) Response.Stop(); if (ibClientConnection.IsConnected) ibClientConnection.Disconnect(); ibClientConnection = null; Request = null; Response = null; } disposed = true; } }
protected virtual void Dispose(bool disposing) { if (!disposed) { if (disposing) { if (Response.IsProcessing) { Response.Stop(); } if (ibClientConnection.IsConnected) { ibClientConnection.Disconnect(); } ibClientConnection = null; Request = null; Response = null; } disposed = true; } }