Exemplo n.º 1
0
 private void ChunkTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
 {
     RecordGraph.StopRecording();
     _callback.Stop();
     _callback.ChunkComplete(DateTime.Now, RecordGraph.SequenceNumber, RecordGraph.CurrentChunkSize);
     RecordGraph.StartRecording();
     _callback.Start();
 }
Exemplo n.º 2
0
 public void StartRecording()
 {
     RecordGraph.StartRecording();
     if (_chunkTimer != null)
     {
         _chunkTimer.Enabled = true;
     }
     _callback.Start();
 }
Exemplo n.º 3
0
 public void StopRecording()
 {
     RecordGraph.StopRecording();
     if (_chunkTimer != null)
     {
         _chunkTimer.Dispose();
         _chunkTimer = null;
     }
     _callback.Stop();
 }
Exemplo n.º 4
0
 public void EndSession()
 {
     RecordGraph.EndSession();
     _callback.End();
 }
Exemplo n.º 5
0
 public void BeginSession()
 {
     RecordGraph.BeginSession();
     _callback.Begin();
 }