dsr Wed Feb 7 10:29:24 2007 UTC
Modified files: /phpdoc/en/reference/sam/functions SAM-Connection-connect.xml Log: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sam/functions/SAM-Connection-connect.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/sam/functions/SAM-Connection-connect.xml diff -u phpdoc/en/reference/sam/functions/SAM-Connection-connect.xml:1.6 phpdoc/en/reference/sam/functions/SAM-Connection-connect.xml:1.7 --- phpdoc/en/reference/sam/functions/SAM-Connection-connect.xml:1.6 Tue Feb 6 15:13:09 2007 +++ phpdoc/en/reference/sam/functions/SAM-Connection-connect.xml Wed Feb 7 10:29:24 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id='function.samconnection-connect'> <refnamediv> <refname>SAMConnection->connect()</refname> @@ -134,8 +134,9 @@ </row> <row> <entry>SAM_PORT</entry> - <entry>1414 for SAM_WMQ - or 1506 for SAM_WPM + <entry>1414 for SAM_WMQ, + 1506 for SAM_WPM, + or 1883 for SAM_MQTT </entry> <entry> The port number on which to attempt communication with the messaging server. @@ -166,11 +167,14 @@ </row> <row> <entry>SAM_MQTT_CLEANSTART</entry> - <entry>none</entry> + <entry>false</entry> <entry> Optional connect option to indicate to an MQTT server that all previous connection data for this client should be removed and that subscriptions should be deleted when the client - disconnects explicitly or unexpectedly. + disconnects explicitly or unexpectedly. Setting the value to &true causes SAM to discard + any subscription already in place for the client when it connects and also to discard + subscription when the client disconnects. Setting the option to &false, or using the + default, allows subscriptions to be durable and survive across client disconnects. </entry> </row> <row>