IPC::Queue::Duplex::Job - An IPC::Queue::Duplex job
$Revision: 1.003 $ $Date: Sat May 6 17:13:44 PDT 2017 $
(Enqueuer) use IPC::Queue::Duplex; my $client = new IPC::Queue::Duplex (Dir => $dir); my $job = $client->add($jobstr); my $response = $job->response; (Worker) use IPC::Queue::Duplex; my $server = new IPC::Queue::Duplex (Dir => $dir); my $job = $server->get: process_job($job); $job->finish($result);
Not intended to be called directly. Use an IPC::Queue::Duplex object to create jobs.
A job worker calls this method with a single argument, a string containing the result of the job. This marks the job finished and returns the result to the requester.
A requester calls this method with no arguments after placing a job on the queue. It returns the result of the job when it's available.
Deletes this job from the queue. No arguments.
Ashish Gulhati, <ipc-qd at hash.neo.tc>
<ipc-qd at hash.neo.tc>
Please report any bugs or feature requests to bug-ipc-queue-duplex at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IPC-Queue-Duplex. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-ipc-queue-duplex at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc IPC::Queue::Duplex::Job
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=IPC-Queue-Duplex
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/IPC-Queue-Duplex
CPAN Ratings
http://cpanratings.perl.org/d/IPC-Queue-Duplex
Search CPAN
http://search.cpan.org/dist/IPC-Queue-Duplex/
Copyright (c) 2017 Ashish Gulhati.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.
See http://www.perlfoundation.org/artistic_license_2_0 for the full license terms.
To install IPC::Queue::Duplex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::Queue::Duplex
CPAN shell
perl -MCPAN -e shell install IPC::Queue::Duplex
For more information on module installation, please visit the detailed CPAN module installation guide.