PHP » GoLang |
login |
register |
about
|
GoLang SAMConnection::connect
request it (375)
GoLang replacement for PHP's SAMConnection::connect
[edit | history]
SAMConnection::connect(PECL sam >= 0.1.0) SAMConnection::connect — Establishes a connection to a Messaging Server Description
bool SAMConnection::connect
( string
$protocol
[, array $properties
] )Calling the "connect" method on a SAMConnection object connects the PHP script to a messaging server. No messages can be sent or received until a connection is made. Parameters
Return Values
This method returns Examples
Example #1 Creating a connection to a Messaging Server using the IBM MQSeries protocol (WMQ)
<?php
Example #2 Creating a connection with application transaction control and default host and port values
<?php
Example #3 Creating a connection to a Messaging Server using the IBM WebSphere Platform Messaging protocol (WPM)
<?php |
more
Recently updated
more
Most requested
more
Last requests
|