PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

ZMQPoll::add - Add item to the poll set | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

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::add - Add item to the poll set」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | ZMQPoll::add - Add item to the poll set」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: