Beispiel #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;
        }
Beispiel #2
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;
        }