示例#1
0
 public HTTPHandler(ShareInfoService i, Model m, BufferService b, ServerUploadLimiterService u)
 {
     infoService   = i;
     model         = m;
     bufferService = b;
     uploadLimiter = u;
     AddDefaultMimeTypes();
 }
示例#2
0
 public FAPClientHandler(Model m, ShareInfoService s, IConversationController c, BufferService b,
                         ServerUploadLimiterService sl)
 {
     model                      = m;
     shareInfoService           = s;
     chatController             = c;
     bufferService              = b;
     serverUploadLimiterService = sl;
     logger                     = LogManager.GetLogger("faplog");
 }
示例#3
0
 public FAPFileUploader(BufferService b, ServerUploadLimiterService u)
 {
     bufferService = b;
     uploadLimiter = u;
     nsm           = new NetworkSpeedMeasurement(NetSpeedType.Upload);
 }