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

search for in the

SAMConnection->errno> <SAMConnection->__construct
Last updated: Fri, 13 Nov 2009

view this page in

SAMConnection::disconnect

(PECL sam >= 0.1.0)

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

説明

SAMConnection
bool disconnect ( void )

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

返り値

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

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

<?php

$conn
->disconnect();

?>



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

SAMConnection->errno> <SAMConnection->__construct
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites