[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/snmp/_snmp/set.xml_snmp.xml?=
From:       Boris_Lytochkin <lytboris () php ! net>
Date:       2011-08-31 19:58:18
Message-ID: svn-lytboris-1314820698-315919-21310051 () svn ! php ! net
[Download RAW message or body]

lytboris                                 Wed, 31 Aug 2011 19:58:18 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=315919

Log:
documentation for SNMP::ERRNO_MULTIPLE_SET_QUERIES

Changed paths:
    U   phpdoc/en/trunk/reference/snmp/snmp/set.xml
    U   phpdoc/en/trunk/reference/snmp/snmp.xml

Modified: phpdoc/en/trunk/reference/snmp/snmp/set.xml
===================================================================
--- phpdoc/en/trunk/reference/snmp/snmp/set.xml	2011-08-31 19:47:32 UTC (rev 315918)
+++ phpdoc/en/trunk/reference/snmp/snmp/set.xml	2011-08-31 19:58:18 UTC (rev 315919)
@@ -42,6 +42,14 @@
      <para>
       The SNMP object id
      </para>
+     <para>
+      When count of OIDs in object_id array is greater than
+      max_oids object property set method will have to use multiple queries
+      to perform requested value updates. In this case type and value checks
+      are made per-chunk so second or subsequent requests may fail due to
+      wrong type or value for OID requested. To mark this a warning is
+      raised when count of OIDs in object_id array is greater than max_oids.
+     </para>
     </listitem>
    </varlistentry>
    <varlistentry>

Modified: phpdoc/en/trunk/reference/snmp/snmp.xml
===================================================================
--- phpdoc/en/trunk/reference/snmp/snmp.xml	2011-08-31 19:47:32 UTC (rev 315918)
+++ phpdoc/en/trunk/reference/snmp/snmp.xml	2011-08-31 19:58:18 UTC (rev 315919)
@@ -125,6 +125,12 @@
     <fieldsynopsis>
      <modifier>const</modifier>
      <type>integer</type>
+     <varname linkend="snmp.class.constants.errno_multiple_set_queries">SNMP::ERRNO_MULTIPLE_SET_QUERIES</varname>
 +     <initializer>6</initializer>
+    </fieldsynopsis>
+    <fieldsynopsis>
+     <modifier>const</modifier>
+     <type>integer</type>
      <varname linkend="snmp.class.constants.version_1">SNMP::VERSION_1</varname>
      <initializer>0</initializer>
     </fieldsynopsis>
@@ -316,6 +322,18 @@
       </listitem>
      </varlistentry>

+     <varlistentry xml:id="snmp.class.constants.errno_multiple_set_queries">
+      <term><constant>SNMP::ERRNO_MULTIPLE_SET_QUERIES</constant></term>
+      <listitem>
+       <para>
+        Library will use multiple queries for SET operation requested.
+        That means that operation will be performed in a non-transaction manner
+        and second or subsequent chunks may fail if a type or value failure
+        will be faced.
+       </para>
+      </listitem>
+     </varlistentry>
+
     </variablelist>
    </section>
    <section xml:id="snmp.class.constants.protocols">



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic