SAMConnection->__construct
(PECL sam >= 0.1.0)
SAMConnection->__construct — メッセージングサーバへの新しい接続を作成する
説明
SAMConnection
__construct
( void
)
新しい SAMConnection オブジェクトを作成します。
例
例1 接続オブジェクトの作成およびメッセージングサーバへの接続
<?php
$conn = new SAMConnection();
$conn->connect(SAM_WMQ, array(SAM_HOST => localhost, SAM_PORT => 1414, SAM_BROKER => 'bull'));
?>
SAMConnection->__construct
There are no user contributed notes for this page.
