PHP Doku:: Disconnects from a Messaging Server - function.samconnection-disconnect.html

Verlauf / Chronik / History: (20) anzeigen

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

Ein Service von Reinhard Neidl - Webprogrammierung.

SAM Funktionen

<<SAMConnection->__construct

SAMConnection->errno>>

SAMConnection->disconnect

(PECL sam >= 0.1.0)

SAMConnection->disconnect Disconnects from a Messaging Server

Beschreibung

bool SAMConnection::disconnect ( void )

Calling the "disconnect" method on a SAMConnection object disconnects the PHP script from a messaging server. No messages can be sent or received after a connection has been disconnected.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Beispiele

Beispiel #1 Disconnecting from a Messaging Server

<?php

$conn
->disconnect();

?>


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",...)