protected virtual void OnDataSent(ClientDataEventArgs e) { ClientDataSendEventHandler handler = DataSent; if (handler != null) { handler(this, e); } }
protected virtual void OnDataReceived(ClientDataEventArgs e) { ClientDataReceiveEventHandler handler = DataReceived; if (handler != null) { handler(this, e, e.Data); } }