Пример #1
0
 public void Init(FileDownloadData synchronizerData, System.Action <FileDownloadStateId> nextStateHandler, System.Action finishHandler, Action <FileErrorCode, string> hdlError)
 {
     mSynchronizeData  = synchronizerData;
     mNextStateHandler = nextStateHandler;
     mFinishHandler    = finishHandler;
 }
Пример #2
0
 public void Init(FileDownloadData synchronizerData, Action <FileDownloadStateId> hdlNextState, Action hdlFinish, Action <FileErrorCode, string> hdlError)
 {
     mSynchronizeData = synchronizerData;
     mNextHandler     = hdlNextState;
     mErrorHandler    = hdlError;
 }
Пример #3
0
 public void Init()
 {
     mData = new FileDownloadData();
     InitStateMachine();
 }