Beispiel #1
0
 /// <summary>
 /// 为bus连接队列
 /// </summary>
 /// <param name="queue"></param>
 public static void ConectQueue(EventQueue queue)
 {
     mQueue            = queue;
     mQueue.OnMessage += _onEvent;
 }
Beispiel #2
0
 internal MessageHandler(EventQueue bus)
 {
     mMessageBus            = bus;
     mMessageBus.OnMessage += onReceiveMessage;
 }