Exemplo n.º 1
0
        public Tracker(ITrackerConnection connection)
        {
            Connection = connection ?? throw new ArgumentNullException(nameof(connection));

            LastAnnounced = new ValueStopwatch();
            LastResponse  = LastAnnounceResponse = new AnnounceResponse(TrackerState.Unknown);
        }
Exemplo n.º 2
0
 public TrackerWithConnection(ITrackerConnection connection)
     : base(connection)
 {
     Connection = (CustomTracker)connection;
 }