-
Notifications
You must be signed in to change notification settings - Fork 51
[Sync EN] zookeeper/connect: Fix typo #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
lacatoire
wants to merge
5
commits into
php:master
Choose a base branch
from
lacatoire:sync-en/272-zookeeper-connect
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+111
−0
Open
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
9c27720
[Sync EN] zookeeper: übersetze Zookeeper::connect
lacatoire 0b46248
Update reference/zookeeper/zookeeper/connect.xml
lacatoire 94fce91
Update reference/zookeeper/zookeeper/connect.xml
lacatoire 78a47a5
Update reference/zookeeper/zookeeper/connect.xml
lacatoire be147ad
Update reference/zookeeper/zookeeper/connect.xml
lacatoire File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,111 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- EN-Revision: 999d171f3e2972aa42c860916761d0bcb9ce6b70 Maintainer: lacatoire Status: ready --> | ||
| <!-- Reviewed: no --> | ||
| <refentry xml:id="zookeeper.connect" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
| <refnamediv> | ||
| <refname>Zookeeper::connect</refname> | ||
| <refpurpose>Erzeugt ein Handle zur Kommunikation mit Zookeeper</refpurpose> | ||
| </refnamediv> | ||
|
|
||
| <refsect1 role="description"> | ||
| &reftitle.description; | ||
| <methodsynopsis role="oop"> | ||
| <modifier>public</modifier> | ||
| <type>void</type><methodname>Zookeeper::connect</methodname> | ||
| <methodparam><type>string</type><parameter>host</parameter></methodparam> | ||
| <methodparam choice="opt"><type>callable</type><parameter>watcher_cb</parameter><initializer>&null;</initializer></methodparam> | ||
| <methodparam choice="opt"><type>int</type><parameter>recv_timeout</parameter><initializer>10000</initializer></methodparam> | ||
| </methodsynopsis> | ||
|
|
||
| <para> | ||
| Diese Methode erzeugt ein neues Handle und eine Zookeeper-Sitzung, die diesem | ||
| Handle entspricht. Der Sitzungsaufbau erfolgt asynchron, das heißt, eine Sitzung | ||
| sollte erst dann als aufgebaut betrachtet werden, wenn ein Ereignis mit dem Zustand | ||
| ZOO_CONNECTED_STATE empfangen wird. | ||
| </para> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="parameters"> | ||
| &reftitle.parameters; | ||
| <variablelist> | ||
| <varlistentry> | ||
| <term><parameter>host</parameter></term> | ||
| <listitem> | ||
| <para> | ||
| Durch Kommas getrennte host:port-Paare, die jeweils einem zk-Server entsprechen, | ||
| z. B. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002" | ||
|
lacatoire marked this conversation as resolved.
Outdated
|
||
| </para> | ||
| </listitem> | ||
| </varlistentry> | ||
| <varlistentry> | ||
| <term><parameter>watcher_cb</parameter></term> | ||
| <listitem> | ||
| <para> | ||
| Die globale Watcher-Callback-Funktion. Wenn Benachrichtigungen ausgelöst werden, | ||
| wird diese Funktion aufgerufen. | ||
| </para> | ||
| </listitem> | ||
| </varlistentry> | ||
| <varlistentry> | ||
| <term><parameter>recv_timeout</parameter></term> | ||
| <listitem> | ||
| <para> | ||
| Das Timeout für diese Sitzung, nur gültig, wenn die Verbindung aktuell besteht | ||
| (d. h. der letzte Watcher-Zustand ist ZOO_CONNECTED_STATE). | ||
|
lacatoire marked this conversation as resolved.
Outdated
|
||
| </para> | ||
| </listitem> | ||
| </varlistentry> | ||
| </variablelist> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="returnvalues"> | ||
| &reftitle.returnvalues; | ||
| <para> | ||
| &return.void; | ||
| </para> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="errors"> | ||
| &reftitle.errors; | ||
| <para> | ||
| Diese Methode löst einen PHP-Fehler bzw. eine Warnung aus, wenn die Anzahl oder die | ||
| Typen der Parameter falsch sind oder die Instanz nicht initialisiert werden konnte. | ||
| </para> | ||
| <caution> | ||
| <simpara> | ||
| Seit Version 0.3.0 wirft diese Methode <classname>ZookeeperException</classname> | ||
| und deren Ableitungen. | ||
| </simpara> | ||
|
lacatoire marked this conversation as resolved.
Outdated
|
||
| </caution> | ||
| </refsect1> | ||
|
|
||
| <refsect1 role="seealso"> | ||
| &reftitle.seealso; | ||
| <simplelist> | ||
| <member><methodname>Zookeeper::__construct</methodname></member> | ||
| <member><classname>ZookeeperException</classname></member> | ||
| </simplelist> | ||
| </refsect1> | ||
|
|
||
| </refentry> | ||
|
|
||
| <!-- Keep this comment at the end of the file | ||
| Local variables: | ||
| mode: sgml | ||
| sgml-omittag:t | ||
| sgml-shorttag:t | ||
| sgml-minimize-attributes:nil | ||
| sgml-always-quote-attributes:t | ||
| sgml-indent-step:1 | ||
| sgml-indent-data:t | ||
| indent-tabs-mode:nil | ||
| sgml-parent-document:nil | ||
| sgml-default-dtd-file:"~/.phpdoc/manual.ced" | ||
| sgml-exposed-tags:nil | ||
| sgml-local-catalogs:nil | ||
| sgml-local-ecat-files:nil | ||
| End: | ||
| vim600: syn=xml fen fdm=syntax fdl=2 si | ||
| vim: et tw=78 syn=sgml | ||
| vi: ts=1 sw=1 | ||
| --> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.