Esempio n. 1
0
 public void Reconnect()
 {
     EventQueue.Enqueue(new ReconnectEvent());
 }
Esempio n. 2
0
 public void Reconnect(Uri source_uri)
 {
     EventQueue.Enqueue(new StartEvent(source_uri));
 }
Esempio n. 3
0
 protected void Stop(StopReason reason)
 {
     EventQueue.Enqueue(new StopEvent(reason));
 }
Esempio n. 4
0
 public void Stop()
 {
     EventQueue.Enqueue(new StopEvent(StopReason.UserShutdown));
 }
Esempio n. 5
0
 public void Post(Host from, Atom packet)
 {
     EventQueue.Enqueue(new PostEvent(from, packet));
 }
Esempio n. 6
0
 public void Start()
 {
     EventQueue.Enqueue(new StartEvent(this.SourceUri));
 }
Esempio n. 7
0
 protected virtual void OnSourceConnectionStopped(object sender, StreamStoppedEventArgs args)
 {
     EventQueue.Enqueue(new ConnectionStoppedEvent(sender as ISourceConnection, args.StopReason));
 }