Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public ZabbixUserProxyServer(IWebConfiguration webConfiguration, IWebChannel webChannel, IRequestBodyBuilder requestBodyBuilder) :
     base(webConfiguration, webChannel, requestBodyBuilder)
 {
 }
Ejemplo n.º 3
0
 public ZabbixServerChecker(IWebChannel webChannel, IRequestBodyBuilder requestBodyBuilder, IWebConfiguration webConfiguration)
 {
     _webChannel         = webChannel;
     _requestBodyBuilder = requestBodyBuilder;
     _webConfiguration   = webConfiguration;
 }
Ejemplo n.º 4
0
 public void AcceptChannelPrototype(IWebChannel channel)
 {
     //acceptedChannels.Add(channel);
 }
Ejemplo n.º 5
0
 public void RejectChannelPrototype(IWebChannel channel)
 {
 }
Ejemplo n.º 6
0
 public void AddChannelPrototype(IWebChannel channel)
 {
     channels.Add(channel);
     Console.WriteLine("new client " + (channels.Count - 1));
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Access数据库存储的新闻对象
 /// </summary>
 public AccessWebNews(int newsID, IWebChannel webChannel)
 {
     this.NewsID  = newsID;
     this.Channel = webChannel;
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Access数据库存储的新闻对象
 /// </summary>
 public AccessWebNews(int newsID, IWebChannel webChannel)
 {
     this.NewsID = newsID;
     this.Channel = webChannel;
 }
Ejemplo n.º 9
0
 public ZabbixGraphsProxyServer(IWebConfiguration webConfiguration, IWebChannel webChannel, IRequestBodyBuilder requestBodyBuilder, IServiceConfiguration serviceConfiguration)
     : base(webConfiguration, webChannel, requestBodyBuilder)
 {
     _serviceConfiguration = serviceConfiguration;
 }