コード例 #1
0
        public ListenerManager(Pipe pipe)
        {
            IRC = new IRCListener(pipe);
            IRC.Start();

            Console = new ConsoleListener(pipe);
            //Console.Start();

            Voice = new VoiceListener(pipe);
            Voice.Start();

            //new SocketListener(pipe).Start();

            new FileWatcherListener(pipe).Start();

            foreach (var account in Brain.Settings.EmailAccounts)
            {
                new ImapListener(pipe, account).Start();
            }

            CurrentListener = IRC;
        }
コード例 #2
0
ファイル: ListenerManager.cs プロジェクト: csyolen/Jarvis
        public ListenerManager(Pipe pipe)
        {
            IRC = new IRCListener(pipe);
            IRC.Start();

            Console = new ConsoleListener(pipe);
            //Console.Start();

            Voice = new VoiceListener(pipe);
            Voice.Start();

            //new SocketListener(pipe).Start();

            new FileWatcherListener(pipe).Start();

            foreach (var account in Brain.Settings.EmailAccounts)
            {
                new ImapListener(pipe, account).Start();
            }

            CurrentListener = IRC;
        }