Пример #1
0
 public HttpQueryApplication(ISettings settings, Context context,
   IThreadFactory receiver_thread_factory) {
   settings_ = settings;
   socket_ = context.Socket(SocketType.DEALER);
   receiver_thread_factory_ = receiver_thread_factory;
   context_ = context;
   running_ = false;
   futures_ = new AsyncResponseMap();
   request_id_ = 1;
   logger_ = HttpQueryLogger.ForCurrentProcess;
 }
Пример #2
0
 public HttpQueryApplication(ISettings settings, Context context,
                             IThreadFactory receiver_thread_factory)
 {
     settings_ = settings;
     socket_   = context.Socket(SocketType.DEALER);
     receiver_thread_factory_ = receiver_thread_factory;
     context_    = context;
     running_    = false;
     futures_    = new AsyncResponseMap();
     request_id_ = 1;
     logger_     = HttpQueryLogger.ForCurrentProcess;
 }
Пример #3
0
 static HttpQueryLogger() {
   current_process_logger_ = new HttpQueryLogger(new NOPLogger());
 }
Пример #4
0
 static HttpQueryLogger()
 {
     current_process_logger_ = new HttpQueryLogger(new NOPLogger());
 }