Cgw.T28181.T28181VideoMonitor.SetDataCallBackFunc C# (CSharp) Method

SetDataCallBackFunc() public method

注册码流回调函数
public SetDataCallBackFunc ( DataCallBack dataCallBack, string sender ) : void
dataCallBack DataCallBack 回调函数
sender string 调用者
return void
        public void SetDataCallBackFunc(DataCallBack dataCallBack, string sender)
        {
            NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log);
            logEx.Trace("Enter: T28181VideoMonitor.SetVideoDataCallBackFunc().");
            this.dataCallBack = dataCallBack;
            this.sender = sender;
            logEx.Info("Set VideoDataCallBackFunc success. Monitor id:{0}", this.monitorId);
        }