-
-
24 Aug 2018 14:57:31 UTC
- Distribution: Gearman
- Module version: 2.004.015
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (0)
- Testers
- Kwalitee
Bus factor: 0- License: perl_5
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (47.7KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Carp
- IO::Select
- IO::Socket::IP
- IO::Socket::SSL
- List::MoreUtils
- POSIX
- Scalar::Util
- Socket
- Storable
- String::CRC32
- Time::HiRes
- fields
- version
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Gearman::ResponseParser - gearmand abstract response parser implementation
DESCRIPTION
Gearman::ResponseParser is an abstract base class.
See: Gearman::ResponseParser::Taskset
Subclasses should call this first, then add their own data in underscore members
METHODS
source()
return source. The source is object/socket
on_packet($packet, $parser)
subclasses should override this
on_error($msg, $parser)
subclasses should override this
reset()
parse_data($data)
don't override: FUTURE OPTIMIZATION: let caller say "you can own this scalarref", and then we can keep it on the initial setting of $self->{data} and avoid copying into our own. overkill for now.
eof()
don't override
parse_sock($sock)
don't override
$sock
is readable, we should sysread it and feed it to parse_data($data)Module Install Instructions
To install Gearman::Job, copy and paste the appropriate command in to your terminal.
cpanm Gearman::Job
perl -MCPAN -e shell install Gearman::Job
For more information on module installation, please visit the detailed CPAN module installation guide.