package Uploader::TransferManager;
use threads;
use threads::shared;
use Thread::Queue;
use strict;
use base qw/Uploader::ThreadManager/;
use Uploader::TransferWorker;
use vars qw/$AUTOLOAD/;
__PACKAGE__->mk_accessors(qw/
    pwg
    destination_category
/);
use Data::Dumper;

sub new_worker {
    my ( $self ) =@_;


    Uploader::TransferWorker->new({
        pwg => $self->pwg,
    });

}


sub destination_category_is_empty {
    my ( $self ) = @_;

    !scalar @{$self->destination_category};
}

1;