Exemplo n.º 1
0
 public void AddControllerHandler(IControllerHandler controllerHandler)
 {
     this.mutations.Add((server) =>
     {
         server.ServiceManager.ControllerHandlers.Add(controllerHandler);
     });
 }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 /// <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;
 }
Exemplo n.º 4
0
 /// <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;
 }