Esempio n. 1
0
        public SoulNotifier()
        {
            _SupplyPassages   = new List <SoulPassage>();
            _SupplyIdLandlord = new IdLandlord();

            _UnsupplyPassages   = new List <SoulPassage>();
            _UnsupplyIdLandlord = new IdLandlord();
        }
Esempio n. 2
0
        public SoulProvider(IRequestQueue peer, IResponseQueue queue, IProtocol protocol)
        {
            _IdLandlord = new IdLandlord();
            _Queue      = queue;
            _Protocol   = protocol;

            _EventProvider = protocol.GetEventProvider();

            _Serializer              = protocol.GetSerialize();
            _Peer                    = peer;
            _Peer.InvokeMethodEvent += _InvokeMethod;
        }
Esempio n. 3
0
        public SoulProvider(IRequestQueue peer, IResponseQueue queue, IProtocol protocol)
        {
            _WaitValues  = new Dictionary <long, IValue>();
            _Souls       = new System.Collections.Concurrent.ConcurrentDictionary <long, SoulProxy>();
            _EventFilter = new Queue <byte[]>();
            _IdLandlord  = new IdLandlord();
            _Queue       = queue;
            _Protocol    = protocol;

            _EventProvider = protocol.GetEventProvider();

            _Serializer              = protocol.GetSerialize();
            _Peer                    = peer;
            _Peer.InvokeMethodEvent += _InvokeMethod;
        }
Esempio n. 4
0
 public ReturnValueQueue()
 {
     _IdLandlord   = new IdLandlord();
     _ReturnValues = new Dictionary <long, IValue>();
 }
Esempio n. 5
0
 public GhostEventHandler()
 {
     _IdLandlord = new IdLandlord();
     _Runners    = new List <Invoker>();
 }