Beispiel #1
0
        private FilePublisher(FilesManager _filesManager)
        {
            publishingMethod = 1;
            filesManager = _filesManager;

            // Starting the upload server
            uploadManager = UploadManager.GetUploadManager(this);
            uploadManager.StartUploadServer();
        }
 public FilesUploadingThreadParam(UploadManager _uploadManager)
 {
     uploadManager = _uploadManager;
 }
 public SingleFileUploading(TcpClient _remoteClient, UploadManager _uploadManager)
 {
     remoteClient = _remoteClient;
     uploadManager = _uploadManager;
 }
Beispiel #4
0
        public static UploadManager GetUploadManager(FilePublisher _filePublisher)
        {
            if (uploadManager == null)
            {
                uploadManager = new UploadManager(_filePublisher);
            }

            return uploadManager;
        }