NAME
App::Manoc::Netwalker::Discover::Workers
VERSION
version 2.99.2
METHODS
on_tick
Called by the scheduler, calls schedule_hosts
.
schedule_session
Select a new session to be processed
schedule_hosts
If there is a discovery session in progress generates new address to be scanned and enqueues them. Number of generated addresses is limited by the worker queue max lenght.
When a session is over schedule the next one if exists.
worker_done
Called at the end of session. Schedule the next hosts unless the session has been stopped.
discover_address( $session_id, $address )
Worker entry point, starting a new App::Manoc::Netwalker::DiscoverTask.
AUTHORS
Gabriele Mambrini <gmambro@cpan.org>
Enrico Liguori
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Gabriele Mambrini.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.