Exemplo n.º 1
0
 public HTTPHandler(ShareInfoService i, Model m, BufferService b, ServerUploadLimiterService u)
 {
     infoService   = i;
     model         = m;
     bufferService = b;
     uploadLimiter = u;
     AddDefaultMimeTypes();
 }
Exemplo n.º 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");
 }
Exemplo n.º 3
0
 public FAPFileUploader(BufferService b, ServerUploadLimiterService u)
 {
     bufferService = b;
     uploadLimiter = u;
     nsm           = new NetworkSpeedMeasurement(NetSpeedType.Upload);
 }