Beispiel #1
0
        public void flushAsyncBatchRequests(CommunicatorBatchOutgoingAsync outAsync)
        {
            List <Ice.ObjectAdapterI> adapters;

            _m.Lock();
            try
            {
                adapters = new List <Ice.ObjectAdapterI>(_adapters);
            }
            finally
            {
                _m.Unlock();
            }

            foreach (Ice.ObjectAdapterI adapter in adapters)
            {
                adapter.flushAsyncBatchRequests(outAsync);
            }
        }
        public void flushAsyncBatchRequests(CommunicatorBatchOutgoingAsync outAsync)
        {
            List<Ice.ObjectAdapterI> adapters;
            _m.Lock();
            try
            {
                adapters = new List<Ice.ObjectAdapterI>(_adapters);
            }
            finally
            {
                _m.Unlock();
            }

            foreach(Ice.ObjectAdapterI adapter in adapters)
            {
                adapter.flushAsyncBatchRequests(outAsync);
            }
        }