SAMConnection->__construct()
(No version information available, might be only in CVS)
SAMConnection->__construct() — メッセージングサーãƒã¸ã®æ–°ã—ã„æŽ¥ç¶šã‚’ä½œæˆã™ã‚‹
説明
SAMConnection
__construct
( $
)
æ–°ã—ã„ SAMConnection オブジェクトを作æˆã—ã¾ã™ã€‚
例
Example#1 接続オブジェクトã®ä½œæˆãŠã‚ˆã³ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãƒ³ã‚°ã‚µãƒ¼ãƒã¸ã®æŽ¥ç¶š
<?php
$conn = new SAMConnection();
$conn->connect(SAM_WMQ, array(SAM_HOST => localhost, SAM_PORT => 1414, SAM_BROKER => 'bull'));
?>