AMQPConnection::setHost

(No version information available, might only be in SVN)

AMQPConnection::setHostSet the amqp host.

Description

public void AMQPConnection::setHost ( string $host )

This method will set the hostname used to connect to the AMQP broker.

Parameters

host

The hostname of the AMQP broker.

Return Values

void

Examples

Example #1 AMQPConnection::setHost() example

<?php

/* Create a new connection */
$cnn = new AMQPConnection();

// set the hostname
$cnn->setHost('myhost.com');

?>


Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout