Exemple #1
0
        private void OnDataSent(ConnectionDataEventArgs e)
        {
            var handler = DataSent;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #2
0
        private void OnDataReceived(ConnectionDataEventArgs e)
        {
            var handler = DataReceived;

            if (handler != null)
            {
                handler(this, e);
            }
        }