private void ServerClosedEventHandler(object sender, ConnectionEventArgs e)
 {
 }
 private void ConnectionClosedEventHandler(object sender, ConnectionEventArgs e)
 {
     this.connectionClosed = true;
 }
 private void ServerOpenedEventHandler(object sender, ConnectionEventArgs e)
 {
     this.connections.Enqueue(new SafariDriverConnection(e.Connection));
 }
 /// <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);
     }
 }
 /// <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);
     }
 }
 private void ConnectionOpenedEventHandler(object sender, ConnectionEventArgs e)
 {
     this.OnConnectionOpened(new ConnectionEventArgs(e.Connection));
 }
 private void ConnectionOpenedEventHandler(object sender, ConnectionEventArgs e)
 {
     this.OnConnectionOpened(new ConnectionEventArgs(e.Connection));
 }