Example #1
0
 private void OnDataSent(DataSentEventArgs e)
 {
     if (DataSent != null)
     {
         DataSent(this, e);
     }
 }
Example #2
0
 internal void OnDataSent(DataSentEventArgs e)
 {
     if (DataSent != null)
     {
         DataSent(this, e);
     }
 }
Example #3
0
 private void Client_DataSent(object sender, DataSentEventArgs e)
 {
     lock (this)
     {
         if (DataSent != null)
         {
             DataSent(this, e);
         }
     }
 }
Example #4
0
 private void ClientServer_DataSent(object sender, DataSentEventArgs e)
 {
     try
     {
         var action = _sendList[e.ClientId].Dequeue();
         _actionFactory.SendAction(action, e.Stream);
     }
     catch
     {}
 }
Example #5
0
 /// <summary>
 /// The event handler for OnDataSend.
 /// </summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event arguments.</param>
 private void FicsClient_OnDataSend(object sender, DataSentEventArgs e)
 {
     _consoleManager.WriteLine($"$R{FICSConstants.SendPrefix}: $r{e.Text}");
     _textLogger.WriteLine($"{FICSConstants.SendPrefix}: {e.Text}");
 }
Example #6
0
 internal void OnDataSent(DataSentEventArgs e) {
   if (DataSent != null)
     DataSent(this, e);
 }
Example #7
0
 /// <summary>
 /// Raise data sent event
 /// </summary>
 protected void OnDataSent(DataSentEventArgs e)
 {
     if (DataSent != null) DataSent(this, e);
 }
Example #8
0
 private static void DataSent(object sender, DataSentEventArgs e)
 {
     Console.WriteLine("[" + e.IpPort + "] sent " + e.BytesSent + " bytes");
 }
Example #9
0
 void client_DataSent(object sender, DataSentEventArgs e)
 {
     sent += e.Sent;
     updateSent();
 }
Example #10
0
 void client_DataSent(object sender, DataSentEventArgs e)
 {
     sent += e.Sent;
     updateSent();
 }