コード例 #1
0
 public AwsHttpResult(AwsHttpResponse response, object context, DateTime start_time, DateTime end_time)
 {
     response_   = response;
     context_    = context;
     start_time_ = start_time;
     end_time_   = end_time;
 }
コード例 #2
0
 public SocketTask(Executor executor,
                   AwsHttpRequest request,
                   object context,
                   ResponseCallback response_cb,
                   SocketReturn socketReturn,
                   DateTime deadline,
                   DateTime expiration,
                   int timeout)
     : base(deadline, expiration)
 {
     executor_     = executor;
     raw_request_  = request.to_string();
     context_      = context;
     response_cb_  = response_cb;
     socketReturn_ = socketReturn;
     timeout_      = timeout;
     response_     = new AwsHttpResponse();
     finished_     = false;
 }