Example #1
0
 void twitchIrc_PongReceived(object sender, IrcPingOrPongReceivedEventArgs e)
 {
     twitchDisconnect.Change(Timeout.Infinite, Timeout.Infinite);
 }
Example #2
0
 /// <summary>
 /// Raises the <see cref="PongReceived"/> event.
 /// </summary>
 /// <param name="e">The <see cref="IrcPingOrPongReceivedEventArgs"/> instance containing the event data.</param>
 protected virtual void OnPongReceived(IrcPingOrPongReceivedEventArgs e)
 {
     var handler = this.PongReceived;
     if (handler != null)
         handler(this, e);
 }