gearman_worker_echo

Langue: en

Version: 382930 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

gearman_worker_echo - Worker Declarations

SYNOPSIS

#include <libgearman/gearman.h>

gearman_return_t gearman_worker_echo(gearman_worker_st *worker, const void *workload, size_t workload_size);

DESCRIPTION

Send data to all job servers to see if they echo it back. This is a test function to see if job servers are responding properly. *

PARAMETERS

[in]workerStructurepreviouslyinitializedwith
gearman_worker_create() or gearman_worker_clone().
[in]workloadTheworkloadtoasktheservertoechoback.
[in]workload_sizeSizeoftheworkload.

RETURN VALUE

Standard gearman return value.

SEE ALSO

The Gearman homepage: http://www.gearman.org/

BUGS

Bugs should be reported at https://bugs.launchpad.net/gearmand

COPYING

Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.

Use and distribution licensed under the BSD license. See the COPYING file in the original source for full text.