Gearman::Server::Client(3pm) User Contributed Perl Documentation Gearman::Server::Client(3pm)
NAME
Gearman::Server::Client - client for gearmand
NAME
Used by Gearman::Server to instantiate connections from clients. Clients speak either a binary protocol, for normal operation (calling
functions, grabbing function call requests, returning function values, etc), or a text-based line protocol, for relatively rare
administrative / monitoring commands.
The binary protocol commands aren't currently documented. (FIXME) But they're well-implemented in Gearman::Client, Gearman::Worker, and
Gearman::Client::Async, if that's any consolation.
The line-based administrative commands are documented below.
Binary Protocol Structure
All binary protocol exchanges between clients (which can be callers, workers, or both) and the Gearman server have common packet header:
4 byte magic -- either "