downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/book.sam.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/refs.remote.other.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'book.sam.php',
   
1 => 'SAM',
  ),
 
'up' =>
  array (
   
0 => 'refs.remote.other.php',
   
1 => 'Other Services',
  ),
 
'prev' =>
  array (
   
0 => 'function.syslog.php',
   
1 => 'syslog',
  ),
 
'next' =>
  array (
   
0 => 'intro.sam.php',
   
1 => 'Introduction',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>
 <h1 class="title">Simple Asynchronous Messaging</h1>
 
 
 
 
 
 
 







 





 







 

 



<ul class="chunklist chunklist_book"><li><a href="intro.sam.php">Introduction</a></li><li><a href="sam.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="sam.requirements.php">Requirements</a></li><li><a href="sam.installation.php">Installation</a></li><li><a href="sam.configuration.php">Runtime Configuration</a></li><li><a href="sam.resources.php">Resource Types</a></li></ul></li><li><a href="sam.constants.php">Predefined Constants</a></li><li><a href="sam.examples.php">Examples</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="sam.connections.php">Connections</a></li><li><a href="sam.messages.php">Messages</a></li><li><a href="sam.operations.php">Messaging operations</a></li><li><a href="sam.pubsub.php">Publish/Subscribe and subscriptions to topics</a></li><li><a href="sam.errors.php">Error handling</a></li></ul></li><li><a href="ref.sam.php">SAM Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.samconnection-commit.php">SAMConnection->commit</a> — Commits (completes) the current unit of work.</li><li><a href="function.samconnection-connect.php">SAMConnection->connect</a> — Establishes a connection to a Messaging Server</li><li><a href="function.samconnection-constructor.php">SAMConnection->__construct</a> — Creates a new connection to a Messaging Server</li><li><a href="function.samconnection-disconnect.php">SAMConnection->disconnect</a> — Disconnects from a Messaging Server</li><li><a href="function.samconnection-errno.php">SAMConnection->errno</a> — Contains the unique numeric error code of the last executed SAM operation.</li><li><a href="function.samconnection-error.php">SAMConnection->error</a> — Contains the text description of the last failed SAM operation.</li><li><a href="function.samconnection-isconnected.php">SAMConnection->isConnected</a> — Queries whether a connection is established to a Messaging Server</li><li><a href="function.samconnection-peek.php">SAMConnection->peek</a> — Read a message from a queue without removing it from the queue.</li><li><a href="function.samconnection-peekall.php">SAMConnection->peekAll</a> — Read one or more messages from a queue without removing it from the queue.</li><li><a href="function.samconnection-receive.php">SAMConnection->receive</a> — Receive a message from a queue or subscription.</li><li><a href="function.samconnection-remove.php">SAMConnection->remove</a> — Remove a message from a queue.</li><li><a href="function.samconnection-rollback.php">SAMConnection->rollback</a> — Cancels (rolls back) an in-flight unit of work.</li><li><a href="function.samconnection-send.php">SAMConnection->send</a> — Send a message to a queue or publish an item to a topic.</li><li><a href="function.samconnection-setDebug.php">SAMConnection::setDebug</a> — Turn on or off additional debugging output.</li><li><a href="function.samconnection-subscribe.php">SAMConnection->subscribe</a> — Create a subscription to a specified topic.</li><li><a href="function.samconnection-unsubscribe.php">SAMConnection->unsubscribe</a> — Cancel a subscription to a specified topic.</li><li><a href="function.sammessage-body.php">SAMMessage->body</a> — The body of the message.</li><li><a href="function.sammessage-constructor.php">SAMMessage->__construct</a> — Creates a new Message object</li><li><a href="function.sammessage-header.php">SAMMessage->header</a> — The header properties of the message.</li></ul></li></ul></div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites