using System.Collections.Concurrent; using ServerEngine.NetworkManagement; namespace ServerEngine { public class QueuingService { static QueuingService() { NetInQueue = new ConcurrentQueue(); PostProcessingQueue = new ConcurrentQueue(); NetOutQueue = new ConcurrentQueue(); } /// /// This property contains the global incoming network message queue /// public static ConcurrentQueue NetInQueue { get; private set; } /// /// This property contains the post processing network message queue /// thats used by for packets that will be translated to byte array and enqueued in the /// NetOutQueue /// public static ConcurrentQueue PostProcessingQueue { get; private set; } /// /// This property contains the global outgoing network message queue /// public static ConcurrentQueue NetOutQueue { get; private set; } } }