internal void AddDestination(long registrationId, string endpointChannel) { _clientLock.Lock(); try { EnsureActive(); EnsureNotReentrant(); AwaitResponse(_driverProxy.AddDestination(registrationId, endpointChannel)); } finally { _clientLock.Unlock(); } }
internal void AddDestination(long registrationId, string endpointChannel) { if (_isClosed) { throw new InvalidOperationException("Aeron client is closed"); } AwaitResponse(_driverProxy.AddDestination(registrationId, endpointChannel), null); }
internal void AddDestination(long registrationId, string endpointChannel) { VerifyActive(); AwaitResponse(_driverProxy.AddDestination(registrationId, endpointChannel), null); }