internal void NotifyReceived(GXReceivedPacketEventArgs e) { ++this.Statistics.PacketsReceived; if (e.Answer) { System.Diagnostics.Debug.Assert((e.Packet.Status & PacketStates.Sent) == 0); m_replyEvent.Set(); return; } if (PacketParser != null) { PacketParser.Received(this, e); } //Reply packet received. else if (OnReceived != null) { OnReceived(this, e); } }
/// <summary> /// OnReceived event. Called when a GXPacket is received. /// </summary> public virtual void OnReceived(object sender, GXReceivedPacketEventArgs e) { }
public void Received(object sender, GXReceivedPacketEventArgs e) { }
void IGXPacketParser.Received(object sender, GXReceivedPacketEventArgs e) { }