Example #1
0
        protected override void Init(Lifetime lifetime)
        {
            base.Init(lifetime);

            Assertion.Assert(myHandler.IsSendWithoutContexts, "Must bind context handler without sending contexts to prevent reentrancy");

            myInternRoot.RdId       = RdId.Mix("InternRoot");
            myProtocolValueSet.RdId = RdId.Mix("ValueSet");

            myInternRoot.Bind(lifetime, this, "InternRoot");
            myProtocolValueSet.Bind(lifetime, this, "ValueSet");

            myProtocolValueSet.Advise(lifetime, HandleProtocolSetEvent);
        }