|
NAMEGearman::ResponseParser - gearmand abstract response parser implementationDESCRIPTIONGearman::ResponseParser is an abstract base class.See: Gearman::ResponseParser::Taskset Subclasses should call this first, then add their own data in underscore members METHODSsource()return source. The source is object/socketon_packet($packet, $parser)subclasses should override thison_error($msg, $parser)subclasses should override thisreset()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 overrideparse_sock($sock)don't override$sock is readable, we should sysread it and feed it to parse_data($data)
Visit the GSP FreeBSD Man Page Interface. |