123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- .TH "GEARMAN_ACTIONS_T" "3" "March 07, 2012" "0.29" "Gearmand"
- .SH NAME
- gearman_actions_t \- 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 void gearman_client_set_workload_fn(gearman_client_st\fI\ *client\fP, gearman_workload_fn\fI\ *function\fP)
- .UNINDENT
- .INDENT 0.0
- .TP
- .B void gearman_client_set_created_fn(gearman_client_st\fI\ *client\fP, gearman_created_fn\fI\ *function\fP)
- .UNINDENT
- .INDENT 0.0
- .TP
- .B void gearman_client_set_data_fn(gearman_client_st\fI\ *client\fP, gearman_data_fn\fI\ *function\fP)
- .UNINDENT
- .INDENT 0.0
- .TP
- .B void gearman_client_set_warning_fn(gearman_client_st\fI\ *client\fP, gearman_warning_fn\fI\ *function\fP)
- .UNINDENT
- .INDENT 0.0
- .TP
- .B void gearman_client_set_status_fn(gearman_client_st\fI\ *client\fP, gearman_universal_status_fn\fI\ *function\fP)
- .UNINDENT
- .INDENT 0.0
- .TP
- .B void gearman_client_set_complete_fn(gearman_client_st\fI\ *client\fP, gearman_complete_fn\fI\ *function\fP)
- .UNINDENT
- .INDENT 0.0
- .TP
- .B void gearman_client_set_exception_fn(gearman_client_st\fI\ *client\fP, gearman_exception_fn\fI\ *function\fP)
- .UNINDENT
- .INDENT 0.0
- .TP
- .B void gearman_client_set_fail_fn(gearman_client_st\fI\ *client\fP, gearman_fail_fn\fI\ *function\fP)
- .UNINDENT
- .INDENT 0.0
- .TP
- .B void gearman_client_clear_fn(gearman_client_st\fI\ *client\fP)
- .UNINDENT
- .sp
- Link to \-lgearman
- .SH DESCRIPTION
- .sp
- Callbacks for client execution task states.
- .sp
- \fBgearman_client_do_job_handle()\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_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://datadifferential.com/
- .SH COPYRIGHT
- 2011, Data Differential, http://datadifferential.com/
- .\" Generated by docutils manpage writer.
- .\"
- .
|