/// <summary> /// Passes callback pointers to OnDataAvailable events to the class that implements the ProcessData method, /// so that the appropriate events can be fired once the data has been processed. /// </summary> /// <param name="data">Delegate to the OnDataAvailable event that will be fired</param> /// <param name="bytes">Delegate to the OnBytesAvaialable event that will be fired</param> public abstract void AddEventCallbacks(DataAvailabe data, BytesAvailable bytes);
public override void AddEventCallbacks(DataAvailabe data, BytesAvailable bytes) { DataAvailableCallback = data; BytesAvailableCallback = bytes; }