Example #1
0
        public void Demonstrate()
        {
            NetworkManager nm = new NetworkManager();
            IDownloader    id = nm;

            id.Start();
            IUploader ip = nm;

            ip.Start();
        }
Example #2
0
        public void Start()
        {
            _subscription = _sessions.CompletedRecordings
                            .OfType <LocalSessionRecordingResult>()
#if DEBUG
                            .Do(r => DumpSessionInfo(r))
#endif
                            .Where(r => r.Recording.State == SessionState.Completed)
                            .Where(r => r.Recording.RecorderConfigurations.ContainsKey("UXR"))
                            .Subscribe(r => UploadSessionData(r.Recording, r.RootFolder));

            _uploader.Start();
            State = ControlServiceState.Running;
        }