public void AddControllerHandler(IControllerHandler controllerHandler) { this.mutations.Add((server) => { server.ServiceManager.ControllerHandlers.Add(controllerHandler); }); }
/// <summary> /// Constractor using <see cref="HttpSettings"/> settings. /// </summary> /// <param name="settings"></param> /// <param name="controller"></param> public HttpServerQueue(HttpSettings settings, IControllerHandler controller) : base(settings) { Controller = controller; }
/// <summary> /// Constractor using <see cref="PipeSettings"/> settings. /// </summary> /// <param name="controller"></param> /// <param name="settings"></param> public PipeServerQueue(PipeSettings settings, IControllerHandler controller) : base(settings) { Controller = controller; }
/// <summary> /// Constractor using <see cref="TcpSettings"/> settings. /// </summary> /// <param name="settings"></param> /// <param name="controller"></param> public TcpServerQueue(TcpSettings settings, IControllerHandler controller) { Settings = settings; Controller = controller; }