예제 #1
0
 private void ServerClosedEventHandler(object sender, ConnectionEventArgs e)
 {
 }
예제 #2
0
 private void ConnectionClosedEventHandler(object sender, ConnectionEventArgs e)
 {
     this.connectionClosed = true;
 }
예제 #3
0
 private void ServerOpenedEventHandler(object sender, ConnectionEventArgs e)
 {
     this.connections.Enqueue(new SafariDriverConnection(e.Connection));
 }
예제 #4
0
 /// <summary>
 /// Fires the Opened event.
 /// </summary>
 /// <param name="e">A <see cref="ConnectionEventArgs"/> that contains the event data.</param>
 protected void OnOpen(ConnectionEventArgs e)
 {
     if (this.Opened != null)
     {
         this.Opened(this, e);
     }
 }
예제 #5
0
 /// <summary>
 /// Fires the Closed event.
 /// </summary>
 /// <param name="e">A <see cref="ConnectionEventArgs"/> that contains the event data.</param>
 protected void OnClose(ConnectionEventArgs e)
 {
     if (this.Closed != null)
     {
         this.Closed(this, e);
     }
 }
예제 #6
0
 private void ConnectionOpenedEventHandler(object sender, ConnectionEventArgs e)
 {
     this.OnConnectionOpened(new ConnectionEventArgs(e.Connection));
 }
예제 #7
0
 private void ConnectionOpenedEventHandler(object sender, ConnectionEventArgs e)
 {
     this.OnConnectionOpened(new ConnectionEventArgs(e.Connection));
 }