public JwpListener(int listenerPort)
        {
            this.Port = listenerPort;

            this.commandExecutorsDispatcher = new ExecutorsDispatcher(
                typeof(CommandExecutorBase).Assembly, 
                typeof(CommandExecutorBase));
        }
        public JwpListener(int listenerPort)
        {
            this.Port = listenerPort;

            this.commandExecutorsDispatcher = new ExecutorsDispatcher(
                typeof(CommandExecutorBase).Assembly,
                typeof(CommandExecutorBase));
        }
Example #3
0
        private Automator()
        {
            this.socketServer      = new SocketServer(this.RequestHandler);
            this.elementsRegistry  = new ElementsRegistry();
            this.windowsesRegistry = new WindowsRegistry();
            this.Session           = "AwesomeSession";

            this.commandsExecutorsDispatcher =
                new ExecutorsDispatcher(typeof(CommandExecutorBase).GetTypeInfo().Assembly, typeof(CommandExecutorBase));
            this.commandsExecutorsDispatcher.AddExecutor("ping", typeof(PingExecutor));
        }
        private Automator()
        {
            this.socketServer = new SocketServer(this.RequestHandler);

            this.elementsRegistry = new ElementsRegistry();
            this.windowsesRegistry = new WindowsRegistry();
            this.Session = "AwesomeSession";

            this.commandsExecutorsDispatcher =
                new ExecutorsDispatcher(typeof(CommandExecutorBase).GetTypeInfo().Assembly, typeof(CommandExecutorBase));
            this.commandsExecutorsDispatcher.AddExecutor("ping", typeof(PingExecutor));
        }