Пример #1
0
 private void OnDataSent(DataSentEventArgs e)
 {
     if (DataSent != null)
     {
         DataSent(this, e);
     }
 }
Пример #2
0
 internal void OnDataSent(DataSentEventArgs e)
 {
     if (DataSent != null)
     {
         DataSent(this, e);
     }
 }
Пример #3
0
 private void Client_DataSent(object sender, DataSentEventArgs e)
 {
     lock (this)
     {
         if (DataSent != null)
         {
             DataSent(this, e);
         }
     }
 }
Пример #4
0
 private void ClientServer_DataSent(object sender, DataSentEventArgs e)
 {
     try
     {
         var action = _sendList[e.ClientId].Dequeue();
         _actionFactory.SendAction(action, e.Stream);
     }
     catch
     {}
 }
Пример #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}");
 }
Пример #6
0
 internal void OnDataSent(DataSentEventArgs e) {
   if (DataSent != null)
     DataSent(this, e);
 }
Пример #7
0
 /// <summary>
 /// Raise data sent event
 /// </summary>
 protected void OnDataSent(DataSentEventArgs e)
 {
     if (DataSent != null) DataSent(this, e);
 }
Пример #8
0
 private static void DataSent(object sender, DataSentEventArgs e)
 {
     Console.WriteLine("[" + e.IpPort + "] sent " + e.BytesSent + " bytes");
 }
Пример #9
0
 void client_DataSent(object sender, DataSentEventArgs e)
 {
     sent += e.Sent;
     updateSent();
 }
Пример #10
0
 void client_DataSent(object sender, DataSentEventArgs e)
 {
     sent += e.Sent;
     updateSent();
 }