示例#1
0
 public void AddControllerHandler(IControllerHandler controllerHandler)
 {
     this.mutations.Add((server) =>
     {
         server.ServiceManager.ControllerHandlers.Add(controllerHandler);
     });
 }
示例#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;
 }
示例#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;
 }
示例#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;
 }