1Gearman::ResponseParserU(s3e)r Contributed Perl DocumentaGteiaornman::ResponseParser(3)
2
3
4

NAME

6       Gearman::ResponseParser - gearmand abstract response parser
7       implementation
8

DESCRIPTION

10       Gearman::ResponseParser is an abstract base class.
11
12       See: Gearman::ResponseParser::Taskset
13
14       Subclasses should call this first, then add their own data in
15       underscore members
16

METHODS

18   source()
19       return source. The source is object/socket
20
21   on_packet($packet, $parser)
22       subclasses should override this
23
24   on_error($msg, $parser)
25       subclasses should override this
26
27   reset()
28   parse_data($data)
29       don't override: FUTURE OPTIMIZATION: let caller say "you can own this
30       scalarref", and then we can keep it on the initial setting of
31       $self->{data} and avoid copying into our own.  overkill for now.
32
33   eof()
34       don't override
35
36   parse_sock($sock)
37       don't override
38
39       $sock is readable, we should sysread it and feed it to
40       parse_data($data)
41
42
43
44perl v5.36.0                      2022-07-22        Gearman::ResponseParser(3)
Impressum