Exemple #1
0
        protected virtual void OnDataSent(ClientDataEventArgs e)
        {
            ClientDataSendEventHandler handler = DataSent;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemple #2
0
        protected virtual void OnDataReceived(ClientDataEventArgs e)
        {
            ClientDataReceiveEventHandler handler = DataReceived;

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