Provided by: libgearman-client-perl_2.004.015-1_all
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)