Connection safmq_php::safmq_open

(URL url,
  String username,
  String password)

Opens a connection to a SAFMQ Server.

Child Classes

Opens a connection to a SAFMQ Server. Accepts a url and optional user ideitification parameters. The url is in the format "safmq://username:password@host". The protocol, username and password elements are optional with the minimum url consisting of "//host". However, if a SSL connection is desired, use "safmqs://host" or "safmq://username:password@host" to establish a SSL connection.

Parameters:
url - [in] The url addressing the server
- username [in, optional] The user identifier, incase it is not specified in the URL
password - [in, optional] The user's password incase is is not specified in the URL
Returns:
FALSE (Boolean) if a connection was not made, otherwise a Connection resource connected to the SAFMQ server.

Member Documentation

Table of Contents HTML hierarchy of classes or Java


Safmq Documentation, copyright (c) 2004-2010 Matthew J. Battey, Licensed Under Apache License Ver 2.0
Powered By: Get SAFMQ: Store and Forward Message Queue at SourceForge.net. Fast, secure and Free Open Source software downloads