public static void Create() { if (m_instance != null) { m_instance.ClearAll(); } m_instance = new MessageEventManager(); }
void Awake() { // initial MessageEventManager.Create(); TableManager.Create(); Debug.Log(MessageHandler.instance.ToString()); Debug.Log(SessionManager.instance.ToString()); Debug.Log(EntryManager.instance.ToString()); }
internal HorseQueue(HorseMq server, string name, QueueOptions options) { Server = server; Name = name; Options = options; Status = options.Status; _clients = new SafeList <QueueClient>(256); OnConsumerSubscribed = new SubscriptionEventManager(Server, EventNames.Subscribe, this); OnConsumerUnsubscribed = new SubscriptionEventManager(Server, EventNames.Unsubscribe, this); OnMessageProduced = new MessageEventManager(Server, EventNames.MessageProduced, this); }