2011-08-16 11:38:58 +00:00
<?xml version="1.0" encoding="UTF-8"?>
2009-07-11 08:46:15 +00:00
<!-- $Revision$ -->
2007-06-20 22:25:43 +00:00
<reference xml:id= "ref.sam" xmlns= "http://docbook.org/ns/docbook" xmlns:xlink= "http://www.w3.org/1999/xlink" >
2007-12-21 20:27:30 +00:00
<title > SAM &Functions; </title>
2006-11-13 16:57:51 +00:00
<partintro >
2007-12-21 20:27:30 +00:00
<!-- FIXME: Upgrade to the new - oo - markup -->
2006-11-13 16:57:51 +00:00
<!-- class definition section -->
2011-09-30 14:21:51 +00:00
<section xml:id= "sam.classes" >
2006-11-13 16:57:51 +00:00
&reftitle.classes;
2007-02-04 04:45:43 +00:00
<!-- Connection class -->
2011-09-30 14:21:51 +00:00
<section xml:id= "sam.class.Connection" >
2006-11-13 16:57:51 +00:00
<title > <classname > SAMConnection</classname> </title>
<para >
Object representing a connection to a Messaging Server
</para>
2011-09-30 14:21:51 +00:00
<section xml:id= "sam.class.Connection.constructor" >
2006-11-13 16:57:51 +00:00
&reftitle.constructor;
<itemizedlist >
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-constructor" > new SAMConnection</link> - construct a new connection object to allow connection to a messaging infrastructure.
2006-11-13 16:57:51 +00:00
</para>
</listitem>
</itemizedlist>
2007-06-20 22:25:43 +00:00
</section> <!-- xml:id=sam.class.Connection.constructor -->
2006-11-13 16:57:51 +00:00
2011-09-30 14:21:51 +00:00
<section xml:id= "sam.class.Connection.methods" >
2006-11-13 16:57:51 +00:00
&reftitle.methods;
<itemizedlist >
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-commit" > commit</link>
2007-02-04 04:45:43 +00:00
- a method that commits (successfully completes) an in-flight unit
of work.
2006-11-13 16:57:51 +00:00
</para>
</listitem>
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-connect" > connect</link>
2006-11-13 16:57:51 +00:00
- a method that connects a PHP script to a messaging server.
</para>
</listitem>
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-disconnect" > disconnect</link>
2006-11-13 16:57:51 +00:00
- a method that disconnects a PHP script from a messaging server.
</para>
</listitem>
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-isconnected" > isConnected</link>
2007-02-04 04:45:43 +00:00
- a method that checks whether a PHP script is connected to a
messaging server.
2006-11-13 16:57:51 +00:00
</para>
</listitem>
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-peek" > peek</link>
2007-02-04 04:45:43 +00:00
- a method that receives a message from a queue without removing it
from the queue.
2006-11-13 16:57:51 +00:00
</para>
</listitem>
2006-11-22 17:22:06 +00:00
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-peekall" > peekAll</link>
2007-02-06 15:08:09 +00:00
- a method that receives one or messages from a queue without
2007-02-04 04:45:43 +00:00
removing them from the queue.
2006-11-22 17:22:06 +00:00
</para>
2007-02-06 15:08:09 +00:00
</listitem>
2006-11-13 16:57:51 +00:00
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-receive" > receive</link>
2006-11-13 16:57:51 +00:00
- a method that receives a message from a queue or subscription.
</para>
</listitem>
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-remove" > remove</link>
2006-11-13 16:57:51 +00:00
- a method that removes a message from a queue.
</para>
</listitem>
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-rollback" > rollback</link>
2006-11-13 16:57:51 +00:00
- a method that cancels (rolls back) an in-flight unit of work.
</para>
</listitem>
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-send" > send</link>
2006-11-13 16:57:51 +00:00
- a method that sends a message to a queue or posts to a topic
</para>
</listitem>
2007-02-06 15:08:09 +00:00
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-setDebug" > setDebug</link>
2007-02-06 15:08:09 +00:00
- a method that switches additional debugging output on or off
</para>
</listitem>
2006-11-13 16:57:51 +00:00
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-subscribe" > subscribe</link>
2006-11-13 16:57:51 +00:00
- a method that creates a subscription to one or more topics
</para>
</listitem>
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-unsubscribe" > unsubscribe</link>
2006-11-13 16:57:51 +00:00
- a method that destroys a subscription to one or more topics
</para>
</listitem>
</itemizedlist>
2007-06-20 22:25:43 +00:00
</section> <!-- xml:id=sam.class.Connection.methods -->
2006-11-13 16:57:51 +00:00
2011-09-30 14:21:51 +00:00
<section xml:id= "sam.class.Connection.properties" >
2006-11-13 16:57:51 +00:00
&reftitle.properties;
<itemizedlist >
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-errno" > errno</link> - the
2007-02-04 04:45:43 +00:00
numeric error code for the last encountered error on this
connection. This property is set to 0 if the last operation was
successful.
2006-11-13 16:57:51 +00:00
</para>
</listitem>
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.samconnection-error" > error</link> - the
2007-02-04 04:45:43 +00:00
text description for the last encountered error on this connection
2006-11-13 16:57:51 +00:00
</para>
</listitem>
</itemizedlist>
2007-06-20 22:25:43 +00:00
</section> <!-- xml:id=sam.class.Connection.properties -->
</section> <!-- xml:id=sam.class.Connection -->
2006-11-13 16:57:51 +00:00
<!-- Message class *************************************************** -->
2011-09-30 14:21:51 +00:00
<section xml:id= "sam.class.Message" >
2006-11-13 16:57:51 +00:00
<title > <classname > SAMMessage</classname> </title>
<para >
Object representing a message to be sent or received
</para>
2011-09-30 14:21:51 +00:00
<section xml:id= "sam.class.Message.constructor" >
2006-11-13 16:57:51 +00:00
&reftitle.constructor;
<itemizedlist >
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.sammessage-constructor" > new SAMMessage</link> - construct a
2006-11-13 16:57:51 +00:00
new message.
</para>
</listitem>
</itemizedlist>
2007-06-20 22:25:43 +00:00
</section> <!-- xml:id=sam.class.Message.constructor -->
2006-11-13 16:57:51 +00:00
2011-09-30 14:21:51 +00:00
<section xml:id= "sam.class.Message.properties" >
2006-11-13 16:57:51 +00:00
&reftitle.properties;
<itemizedlist >
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.sammessage-body" > body</link> - the body of
2007-02-04 04:45:43 +00:00
the message.
2006-11-13 16:57:51 +00:00
</para>
</listitem>
<listitem >
<para >
2011-09-30 14:21:51 +00:00
<link linkend= "function.sammessage-header" > header</link> - the
2007-02-04 04:45:43 +00:00
header properties of the message.
2006-11-13 16:57:51 +00:00
</para>
</listitem>
</itemizedlist>
2007-06-20 22:25:43 +00:00
</section> <!-- xml:id=sam.class.Message.methods -->
</section> <!-- xml:id=sam.class.Message -->
2006-11-13 16:57:51 +00:00
2007-06-20 22:25:43 +00:00
</section> <!-- xml:id=sam.classes -->
2006-11-13 16:57:51 +00:00
</partintro>
<!-- This seems to create the table of contents -->
2007-12-10 17:06:11 +00:00
&reference.sam.entities.functions;
2006-11-13 16:57:51 +00:00
</reference>
<!-- 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
2009-09-25 07:04:39 +00:00
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
2006-11-13 16:57:51 +00:00
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
-->