Example #1
0
        protected override void Parse(Pack pack)
        {
            switch (_mode)
            {
            case StabilityParseMode.ParseData:
                ParseData(pack);
                break;

            case StabilityParseMode.ParseCmd:
                ParseCmd(pack);
                break;
            }
            if (ParseDone != null)
            {
                ParseDone.Invoke(this, null);//BeginInvoke(this, null, null, null);
            }
        }
Example #2
0
 protected virtual void OnParseDone()
 {
     ParseDone?.Invoke(this, new ParseDoneEventArgs());
 }