NAME
TAP::Parser::SourceHandler::Worker - Stream TAP from an IO::Handle or a GLOB.
VERSION
Version 0.01
@workers
Class static variable to keep track of workers.
$number_of_workers
Class static variable to keep track of number of workers.
$listener
Class static variable to store the worker listener.
can_handle
my $vote = $class->can_handle( $source );
Casts the following votes:
Vote the same way as the L<TAP::Parser::SourceHandler::Perl>
but with 0.01 higher than perl source.
SYNOPSIS
make_iterator
my $iterator = $class->make_iterator( $source );
Returns a new TAP::Parser::Iterator::Stream::Selectable for the source.
get_a_worker
my $worker = $class->get_a_worker();
Returns a new workder IO::Socket
listener
my $listener = $class->listener();
Returns worker listener IO::Socket::INET
iterator_class
The class of iterator to use, override if you're sub-classing. Defaults to TAP::Parser::Iterator::Worker.
workers
Returns list of workers.
get_active_workers
my @active_workers = $class->get_active_workers;
Returns list of active workers.