Exemplo n.º 1
0
        private FilePublisher(FilesManager _filesManager)
        {
            publishingMethod = 1;
            filesManager = _filesManager;

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

            return uploadManager;
        }