- COPYRIGHT AND LICENSE
Argon::Worker - Argon worker node providing capacity to an Argon::Manager
use Argon::Worker; use AnyEvent; my $cv = AnyEvent->condvar; my $worker = Argon::Worker->new( keyfile => 'path/to/secret', capacity => 4, mgr_host => 'some.host-addr.com', mgr_port => 8000, ); $cv->recv;
Workers do the actual work of executing the tasks assigned to them by the Argon::Manager.
For most use cases, this class need not be access directly; instead, "ar-worker" in bin provides a command-line interface to control the manager process.
Path to the file containing the encryption pass phrase. Inherited from Argon::Encryption.
The number of tasks which this worker can handle concurrently.
The host name or IP of the manager process.
The port number on which the manager is listening.
Starts the worker.
Connects to the manager service. Called by "start".
Jeff Ober <firstname.lastname@example.org>
This software is copyright (c) 2017 by Jeff Ober.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.