예제 #1
0
        public SoulNotifier()
        {
            _SupplyPassages   = new List <SoulPassage>();
            _SupplyIdLandlord = new IdLandlord();

            _UnsupplyPassages   = new List <SoulPassage>();
            _UnsupplyIdLandlord = new IdLandlord();
        }
예제 #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;
        }
예제 #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;
        }
예제 #4
0
 public ReturnValueQueue()
 {
     _IdLandlord   = new IdLandlord();
     _ReturnValues = new Dictionary <long, IValue>();
 }
예제 #5
0
 public GhostEventHandler()
 {
     _IdLandlord = new IdLandlord();
     _Runners    = new List <Invoker>();
 }