SAMConnection->disconnect()
(No version information available, might be only in CVS)
SAMConnection->disconnect() — Disconnects from a Messaging Server
설명
SAMConnection
bool 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.
반환값
ì„±ê³µí• ê²½ìš° TRUE를, ì‹¤íŒ¨í• ê²½ìš° FALSE를 반환합니다.
ì˜ˆì œ
Example#1 Disconnecting from a Messaging Server
<?php
$conn->disconnect();
?>