reference/gearman/gearmanclient/addservers.xml
3c0b61c45a5dabe46865510311e57b77ea3dddb7
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="gearmanclient.addservers" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>GearmanClient::addServers</refname>
...
...
@@ -9,9 +8,10 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="GearmanClient">
13
12
<modifier>public</modifier> <type>bool</type><methodname>GearmanClient::addServers</methodname>
14
-
<methodparam choice="opt"><type>string</type><parameter>servers</parameter><initializer>127.0.0.1:4730</initializer></methodparam>
13
+
<methodparam choice="opt"><type>string</type><parameter>servers</parameter><initializer>&null;</initializer></methodparam>
14
+
<methodparam choice="opt"><type>bool</type><parameter>setupExceptionHandler</parameter><initializer>&true;</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Adds a list of job servers that can be used to run a task. No socket I/O happens here;
...
...
@@ -75,7 +75,6 @@ $gmclient->addServers("10.0.0.1,10.0.0.2:7003");
75
75
</refsect1>
76
76

77
77
</refentry>
78
-

79
78
<!-- Keep this comment at the end of the file
80
79
Local variables:
81
80
mode: sgml
82
81