1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
.TH "GEARMAN_CLIENT_SET_FAIL_FN" "3" "May 04, 2012" "0.33" "Gearmand"
.SH NAME
gearman_client_set_fail_fn \- Gearmand Documentation, http://gearman.info/
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" Man page generated from reStructeredText.
.
.SH SYNOPSIS
.sp
#include <libgearman/gearman.h>
.INDENT 0.0
.TP
.B gearman_actions_t
.UNINDENT
.INDENT 0.0
.TP
.B gearman_workload_fn
.UNINDENT
.INDENT 0.0
.TP
.B gearman_created_fn
.UNINDENT
.INDENT 0.0
.TP
.B gearman_data_fn
.UNINDENT
.INDENT 0.0
.TP
.B gearman_warning_fn
.UNINDENT
.INDENT 0.0
.TP
.B gearman_universal_status_fn
.UNINDENT
.INDENT 0.0
.TP
.B gearman_exception_fn
.UNINDENT
.INDENT 0.0
.TP
.B gearman_fail_fn
.UNINDENT
.INDENT 0.0
.TP
.B gearman_complete_fn
.UNINDENT
.INDENT 0.0
.TP
.B void gearman_client_set_workload_fn(gearman_client_st\fI\ *client\fP, \fI\%gearman_workload_fn\fP\fI\ *function\fP)
.UNINDENT
.INDENT 0.0
.TP
.B void gearman_client_set_created_fn(gearman_client_st\fI\ *client\fP, \fI\%gearman_created_fn\fP\fI\ *function\fP)
.UNINDENT
.INDENT 0.0
.TP
.B void gearman_client_set_data_fn(gearman_client_st\fI\ *client\fP, \fI\%gearman_data_fn\fP\fI\ *function\fP)
.UNINDENT
.INDENT 0.0
.TP
.B void gearman_client_set_warning_fn(gearman_client_st\fI\ *client\fP, \fI\%gearman_warning_fn\fP\fI\ *function\fP)
.UNINDENT
.INDENT 0.0
.TP
.B void gearman_client_set_status_fn(gearman_client_st\fI\ *client\fP, \fI\%gearman_universal_status_fn\fP\fI\ *function\fP)
.UNINDENT
.INDENT 0.0
.TP
.B void gearman_client_set_complete_fn(gearman_client_st\fI\ *client\fP, \fI\%gearman_complete_fn\fP\fI\ *function\fP)
.UNINDENT
.INDENT 0.0
.TP
.B void gearman_client_set_exception_fn(gearman_client_st\fI\ *client\fP, \fI\%gearman_exception_fn\fP\fI\ *function\fP)
.UNINDENT
.INDENT 0.0
.TP
.B void gearman_client_set_fail_fn(gearman_client_st\fI\ *client\fP, \fI\%gearman_fail_fn\fP\fI\ *function\fP)
.UNINDENT
.INDENT 0.0
.TP
.B void gearman_client_clear_fn(gearman_client_st\fI\ *client\fP)
.UNINDENT
.INDENT 0.0
.TP
.B const char *gearman_client_do_job_handle(gearman_client_st\fI\ *client\fP)
.UNINDENT
.sp
Link to \-lgearman
.SH DESCRIPTION
.sp
Callbacks for client execution task states.
.sp
\fI\%gearman_client_set_data_fn()\fP sets the callback function that will
be called if server is to make a request to the client to provide more data.
.sp
\fI\%gearman_client_do_job_handle()\fP gest the job handle for the running task. This should be used between repeated
\fBgearman_client_do()\fP (and related) calls to get information.
.sp
\fI\%gearman_client_clear_fn()\fP can be called to remove all existing
\fI\%gearman_actions_t\fP that have been set.
.sp
\fI\%gearman_client_set_created_fn()\fP,
\fI\%gearman_client_set_data_fn()\fP,
\fI\%gearman_client_set_warning_fn()\fP,
\fI\%gearman_client_set_status_fn()\fP,
\fI\%gearman_client_set_complete_fn()\fP,
\fI\%gearman_client_set_exception_fn()\fP, and
\fI\%gearman_client_set_fail_fn()\fP, set callback functions for the
different states of execution for a client request. Each request, ie
a creation of \fBgearman_task_st\fP, keeps a copy of callbacks when it
is created.
.SH RETURN VALUE
.sp
None
.IP "See also"
.RE
.sp
\fIgearmand(8)\fP \fIlibgearman(3)\fP \fIgearman_client_error(3)\fP or \fIgearman_worker_error(3)\fP
.SH AUTHOR
Data Differential http://www.datadifferential.com/
.SH COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/
.\" Generated by docutils manpage writer.
.\"
.
|