Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 22687 программистов и 1209 роботов. Сейчас ищут 755 программистов ...
Приступая к работе

ZMQPoll::add - Add item to the poll set

Вернуться к: ZMQPoll

ZMQPoll::add

(PECL zmq >= 0.5.0)

ZMQPoll::addAdd item to the poll set

Описание

public string ZMQPoll::add ( mixed $entry , integer $type )

Adds a new item to the poll set and returns the internal id of the added item. The item can be removed from the poll set using the returned string id.

Список параметров

entry

ZMQSocket object or a PHP stream resource

type

Defines what activity the socket is polled for. See ZMQ::POLL_IN and ZMQ::POLL_OUT constants.

Возвращаемые значения

Returns a string id of the added item which can be later used to remove the item. Throws ZMQPollException on error.



Вернуться к: ZMQPoll

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware