Пример #1
0
 protected HttpServer(ITcpListenerWrapper listener,
                      IStreamFactory streamFactory,
                      IHttpProcessorFactory httpProcessorFactory)
 {
     this.listener             = listener;
     this.streamFactory        = streamFactory;
     this.httpProcessorFactory = httpProcessorFactory;
 }
Пример #2
0
 public MasterServerHttpServer(ITcpListenerWrapper tcpListener,
                               IStreamFactory streamFactory,
                               IServersProvider serversProvider,
                               IHttpProcessorFactory httpProcessorFactory,
                               IEncryptor encryptor,
                               IStripMessenger stripMessenger)
     : base(tcpListener, streamFactory, httpProcessorFactory)
 {
     this.serversProvider = serversProvider;
     this.encryptor       = encryptor;
     this.stripMessenger  = stripMessenger;
 }