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

search for in the

SAMConnection::errno> <SAMConnection::__construct
[edit] Last updated: Fri, 07 Jun 2013

view this page in

SAMConnection::disconnect

(PECL sam >= 0.1.0)

SAMConnection::disconnect メッセージングサーバーからの接続を解除する

説明

bool SAMConnection::disconnect ( void )

SAMConnection オブジェクトに対して "disconnect" メソッドをコールすると、 PHP スクリプトとメッセージングサーバーとの接続を解除します。 接続が解除された後は、メッセージの送受信はできません。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 メッセージングサーバーからの接続の解除

<?php

$conn
->disconnect();

?>



add a note add a note User Contributed Notes SAMConnection::disconnect - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites