Akka.Remote.TestKit.MultiNodeSpec.AttachConductor C# (CSharp) Метод

AttachConductor() защищенный Метод

protected AttachConductor ( TestConductor tc ) : void
tc TestConductor
Результат void
        protected void AttachConductor(TestConductor tc)
        {
            var timeout = tc.Settings.BarrierTimeout;
            try
            {
                //TODO: Async stuff
                if (SelfIndex == 0)
                    tc.StartController(InitialParticipants, _myself, _controllerAddr).Wait(timeout);
                else
                    tc.StartClient(_myself, _controllerAddr).Wait(timeout);
            }
            catch (Exception e)
            {
                throw new Exception("failure while attaching new conductor", e);
            }
            TestConductor = tc;
        }