PHP Doku:: Set the port. - amqpconnection.setport.html

Verlauf / Chronik / History: (3) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteAMQPThe AMQPConnection classAMQPConnection::setPort

Ein Service von Reinhard Neidl - Webprogrammierung.

The AMQPConnection class

<<AMQPConnection::setPassword

The AMQPExchange class>>

AMQPConnection::setPort

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

AMQPConnection::setPortSet the port.

Beschreibung

public void AMQPConnection::setPort ( int $port )

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

Parameter-Liste

port

The port used to connect to the AMQP broker.

Rückgabewerte

void

Beispiele

Beispiel #1 AMQPConnection::setPort() example

<?php

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

// set the port
$cnn->setPort(5672);

?>


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)