Beispiel #1
0
        private void SegmentParser_DataReceived(object sender, NetDataReceivedEventArgs e)
        {
            MessageSegmentParser parser = (MessageSegmentParser)sender;

            RemoveSegmentParser(parser);
            OnMessageReceived(e);
        }
Beispiel #2
0
 private void OnMessageReceived(NetDataReceivedEventArgs e)
 {
     if (DataReceived != null)
     {
         DataReceived(this, e);
     }
 }