Gearman::ResponseParser(3pm)

Gearman::ResponseParser3pm

Gearmand abstract response parser implementation

Overview

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)

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9
  2. 10–13

From libgearman-client-perl 2.004.015-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.