Exemplo n.º 1
0
        public XProvider(Framework framework)
            : base(framework)
        {
            _connectManager   = new ConnectManager(this);
            _subscribeManager = new SubscribeManager(this);
            _processor        = new DealProcessor(this);
            _convertor        = new Convertor(this);
            _timer            = new TimedTask(this);
#if DEBUG
            //_emitter = new EventDebugEmitter(this);
            _emitter = new EventEmitter(this);
#else
            _emitter = new EventEmitter(this);
#endif
            ProviderInit();
        }