/// <summary> /// Handle receiving a FragmentSent event from a reliability class. /// </summary> /// <param name="sender"> /// The sender of the event. /// </param> /// <param name="e"> /// The event arguments. /// </param> private void OnReliabilityFragmentSent(object sender, MxReliabilityTransmitEventArgs e) { OnReliableSendProgress(e); }
private void DispatcherOnReliableSendProgress(object sender, MxReliabilityTransmitEventArgs mxReliabilityTransmitEventArgs) { }
/// <summary> /// Handle receiving a FragmentReceived event from a reliability class. /// </summary> /// <param name="sender"> /// The sender of the event. /// </param> /// <param name="e"> /// The event arguments. /// </param> private void OnReliabilityFragmentReceived(object sender, MxReliabilityTransmitEventArgs e) { OnReliableReceivedProgress(e); }
/// <summary> /// Raise the ReliableSendProgress event. /// </summary> /// <param name="e"> /// The event arguments. /// </param> protected virtual void OnReliableSendProgress(MxReliabilityTransmitEventArgs e) { var handler = ReliableSendProgress; handler?.Invoke(this, e); }
/// <summary> /// Raise the OnFragmentSent event. /// </summary> /// <param name="e"> /// The event arguments. /// </param> protected virtual void OnFragmentSent(MxReliabilityTransmitEventArgs e) { var handler = this.FragmentSent; if (handler != null) { handler(this, e); } }
private void MxDispatcherOnReliableSendProgress(object sender, MxReliabilityTransmitEventArgs e) { this.m_SendNetworkVal = e.CurrentFragments; }
/// <summary> /// Raise the ReliableSendProgress event. /// </summary> /// <param name="e"> /// The event arguments. /// </param> protected virtual void OnReliableSendProgress(MxReliabilityTransmitEventArgs e) { var handler = this.ReliableSendProgress; if (handler != null) { handler(this, e); } }