PHP Doku:: Creates a new connection to a Messaging Server - function.samconnection-constructor.html

Verlauf / Chronik / History: (12) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteSimple Asynchronous MessagingSAM FunktionenSAMConnection->__construct

Ein Service von Reinhard Neidl - Webprogrammierung.

SAM Funktionen

<<SAMConnection->connect

SAMConnection->disconnect>>

SAMConnection->__construct

(PECL sam >= 0.1.0)

SAMConnection->__construct Creates a new connection to a Messaging Server

Beschreibung

SAMConnection::__construct ( void )

Creates a new SAMConnection object.

Beispiele

Beispiel #1 Creating a connection object and connecting to a Messaging Server

<?php

$conn 
= new SAMConnection();
$conn->connect(SAM_WMQ, array(SAM_HOST => localhostSAM_PORT => 1414SAM_BROKER => 'bull'));

?>


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)