示例#1
0
        public TrackerGetContext(TrackerGetParameters parameters, TrackerGetDependencies dependencies, TrackerGetConfiguration configuration, TrackerGetHooks hooks)
        {
            this.parameters    = parameters;
            this.dependencies  = dependencies;
            this.configuration = configuration;
            this.hooks         = hooks;

            this.udp  = new TrackerGetUdpService(this);
            this.http = new TrackerGetHttpService(this);

            this.collection = new TrackerGetCollection();
            this.queue      = new LeakQueue <TrackerGetContext>(this);
        }
示例#2
0
 public TrackerGetService Build(TrackerGetHooks hooks)
 {
     return(new TrackerGetService(parameters, dependencies, configuration, hooks));
 }
示例#3
0
 public TrackerGetService(TrackerGetParameters parameters, TrackerGetDependencies dependencies, TrackerGetConfiguration configuration, TrackerGetHooks hooks)
 {
     context = new TrackerGetContext(parameters, dependencies, configuration, hooks);
 }