using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using fnecore.NXDN; using fnecore; namespace WhackerLinkConsoleV2 { /// /// Implements a FNE system base. /// public abstract partial class FneSystemBase : fnecore.FneSystemBase { private List> nxdnCallData = new List>(); /* ** Methods */ /// /// Callback used to validate incoming NXDN data. /// /// Peer ID /// Source Address /// Destination Address /// Call Type (Group or Private) /// NXDN Message Type /// Frame Type /// Stream ID /// Raw message data /// True, if data stream is valid, otherwise false. protected override bool NXDNDataValidate(uint peerId, uint srcId, uint dstId, CallType callType, NXDNMessageType messageType, FrameType frameType, uint streamId, byte[] message) { return true; } /// /// Event handler used to process incoming NXDN data. /// /// /// protected override void NXDNDataReceived(object sender, NXDNDataReceivedEvent e) { return; } } // public abstract partial class FneSystemBase : fnecore.FneSystemBase }