예제 #1
0
 internal MessageDispatcher(FilterManager f)
 {
     filters = f;
     MessageManager.LimitLevel = 3;
     MessageManager.Option     = MessageManager.PeekOption.Auto;
     MessageManager.Init(filters);
     MessageManager.SetSendMessageAction(new MessageManager.SendMessageAction((target, message) => {
         SyncHost.Instance.ClientWrapper.Client.SendMessage(new IRCMessage(target, message));
     }));
 }
예제 #2
0
 public InitFilterEvent(FilterManager filters)
 {
     Filters = filters;
 }
예제 #3
0
 public static void Init(FilterManager manager)
 {
     timer         = new System.Threading.Timer(runThread, null, 0, Convert.ToInt32(time_inv));
     filterManager = manager;
 }