Пример #1
0
        internal void AddDestination(long registrationId, string endpointChannel)
        {
            _clientLock.Lock();
            try
            {
                EnsureActive();
                EnsureNotReentrant();

                AwaitResponse(_driverProxy.AddDestination(registrationId, endpointChannel));
            }
            finally
            {
                _clientLock.Unlock();
            }
        }
Пример #2
0
        internal void AddDestination(long registrationId, string endpointChannel)
        {
            if (_isClosed)
            {
                throw new InvalidOperationException("Aeron client is closed");
            }

            AwaitResponse(_driverProxy.AddDestination(registrationId, endpointChannel), null);
        }
Пример #3
0
        internal void AddDestination(long registrationId, string endpointChannel)
        {
            VerifyActive();

            AwaitResponse(_driverProxy.AddDestination(registrationId, endpointChannel), null);
        }