public void Init(ITransportCallback transportCallback, LaunchOptions options, Logger logger, HostWaitLoop waitLoop = null) { _launchTimeout = ((LocalLaunchOptions)options).ServerLaunchTimeout; _serverTransport.Init(transportCallback, options, logger, waitLoop); WaitForStart(); if (!_clientTransport.IsClosed) { _clientTransport.Init(transportCallback, options, logger, waitLoop); } }
public void Init(ITransportCallback transportCallback, LaunchOptions options) { _launchTimeout = ((LocalLaunchOptions)options).ServerLaunchTimeout; _serverTransport.Init(transportCallback, options); WaitForStart(); if (!_clientTransport.IsClosed) { _clientTransport.Init(transportCallback, options); } }