Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Gearman::ResponseParseUser Contributed Perl DocumentGearman::ResponseParser(3)

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)

perl v5.32.0			  2018-08-24	    Gearman::ResponseParser(3)

NAME | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Gearman::ResponseParser&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help