protected ZabbixProxyServerBase(IWebConfiguration webConfiguration, IWebChannel webChannel, IRequestBodyBuilder requestBodyBuilder) { if (webConfiguration == null) { throw new ArgumentNullException("webConfiguration"); } if (webChannel == null) { throw new ArgumentNullException("webChannel"); } if (requestBodyBuilder == null) { throw new ArgumentNullException("requestBodyBuilder"); } WebConfiguration = webConfiguration; WebChannel = webChannel; RequestBodyBuilder = requestBodyBuilder; }
public ZabbixUserProxyServer(IWebConfiguration webConfiguration, IWebChannel webChannel, IRequestBodyBuilder requestBodyBuilder) : base(webConfiguration, webChannel, requestBodyBuilder) { }
public ZabbixServerChecker(IWebChannel webChannel, IRequestBodyBuilder requestBodyBuilder, IWebConfiguration webConfiguration) { _webChannel = webChannel; _requestBodyBuilder = requestBodyBuilder; _webConfiguration = webConfiguration; }
public void AcceptChannelPrototype(IWebChannel channel) { //acceptedChannels.Add(channel); }
public void RejectChannelPrototype(IWebChannel channel) { }
public void AddChannelPrototype(IWebChannel channel) { channels.Add(channel); Console.WriteLine("new client " + (channels.Count - 1)); }
/// <summary> /// Access数据库存储的新闻对象 /// </summary> public AccessWebNews(int newsID, IWebChannel webChannel) { this.NewsID = newsID; this.Channel = webChannel; }
public ZabbixGraphsProxyServer(IWebConfiguration webConfiguration, IWebChannel webChannel, IRequestBodyBuilder requestBodyBuilder, IServiceConfiguration serviceConfiguration) : base(webConfiguration, webChannel, requestBodyBuilder) { _serviceConfiguration = serviceConfiguration; }