예제 #1
0
파일: HTTPHandler.cs 프로젝트: Kayomani/FAP
 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);
 }