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.
$use_local_public_ip
Class static variable to flag the local public ip is needed. Some of the home network might not have name server setup. Therefore, the public local ip is needed.
$local_public_ip
Class static variable to store the local public ip is needed. Some of the home network might not have name server setup. Therefore, the public local ip is needed.
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.
load_options
Setup the worker specific options.
my @active_workers = $class->load_options($app_prove_object, \@ARGV);
Returns boolean.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 300:
=cut found outside a pod block. Skipping to next block.
- Around line 312:
=cut found outside a pod block. Skipping to next block.