Downloads
Documentation
Get Involved
Help
php[world] 2017
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Errors
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Safe Mode
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Credit Card Processing
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Введение »
« eio_write
Руководство по PHP
Справочник функций
Расширения для управления процессами программ
Change language:
English
Brazilian Portuguese
Chinese (Simplified)
French
German
Japanese
Romanian
Russian
Spanish
Turkish
Other
Edit
Report a Bug
Ev
Введение
Установка и настройка
Требования
Установка
Настройка во время выполнения
Типы ресурсов
Предопределенные константы
Примеры
Наблюдатели
Watcher callbacks
Режимы работы периодических наблюдателей
Ev
— Класс Ev
Ev::backend
— Возвращает целое число, описывающее бекэнд используемый libev
Ev::depth
— Получить глубину рекурсии
Ev::embeddableBackends
— Возвращает набор бекэндов, которые можно встроить в прочие событийные циклы
Ev::feedSignal
— Передаем событие сигнала в Ev
Ev::feedSignalEvent
— Послать событие сигнала в цикл по умолчанию
Ev::iteration
— Получить количество произведенных опросов цикла по умолчанию на предмет новых событий
Ev::now
— Получить время запуска последней итерации цикла по умолчанию
Ev::nowUpdate
— Устанавливает текущее время путем запроса к ядру в процессе обновляя время возвращаемое Ev::now
Ev::recommendedBackends
— Получить битовую маску рекомендованных бекэндов для данной платформы
Ev::resume
— Возобновить выполнение приостановленного ранее событийного цикла по умолчанию
Ev::run
— Начать проверку наличия событий и вызов callback-функций цикла по умолчанию
Ev::sleep
— Блокировать процесс заданное количество секунд
Ev::stop
— Остановить событийный цикл по умолчанию
Ev::supportedBackends
— Возвращает набор бекэндов поддерживаемых текущей конфигурацией libev
Ev::suspend
— Приостановить событийный цикл по умолчанию
Ev::time
— Возвращает текущее время в секундах(дробное число) прошедшее с начала эпохи Unix
Ev::verify
— Производит внутренную проверку целосности(для отладки)
EvCheck
— Класс EvCheck
EvCheck::__construct
— Конструктор объекта EvCheck
EvCheck::createStopped
— Создает остановленный экземпляр наблюдателя EvCheck
EvChild
— Класс EvChild
EvChild::__construct
— Создает объект наблюдатель EvChild
EvChild::createStopped
— Создает остановленный экземпляр наблюдателя EvCheck
EvChild::set
— Конфигурирование наблюдателя
EvEmbed
— Класс EvEmbed
EvEmbed::__construct
— Constructs the EvEmbed object
EvEmbed::createStopped
— Create stopped EvEmbed watcher object
EvEmbed::set
— Configures the watcher
EvEmbed::sweep
— Make a single, non-blocking sweep over the embedded loop.
EvFork
— Класс EvFork
EvFork::__construct
— Конструктор наблюдателя EvFork
EvFork::createStopped
— Создать объект класса EvFork, но не стартовать его
EvIdle
— Класс EvIdle
EvIdle::__construct
— Конструктор наблюдателя EvIdle
EvIdle::createStopped
— Создать объект класса EvIdle, но не стартовать его
EvIo
— Класс EvIo
EvIo::__construct
— Создает объект наблюдатель EvIo
EvIo::createStopped
— Создает остановленный объект наблюдатель EvIo
EvIo::set
— Конфигурирование наблюдателя
EvLoop
— Класс EvLoop
EvLoop::backend
— Returns an integer describing the backend used by libev.
EvLoop::check
— Creates EvCheck object associated with the current event loop instance
EvLoop::child
— Creates EvChild object associated with the current event loop
EvLoop::__construct
— Constructs the event loop object
EvLoop::defaultLoop
— Returns or creates the default event loop.
EvLoop::embed
— Creates an instance of EvEmbed watcher associated with the current EvLoop object.
EvLoop::fork
— Creates EvFork watcher object associated with the current event loop instance
EvLoop::idle
— Creates EvIdle watcher object associated with the current event loop instance
EvLoop::invokePending
— Invoke all pending watchers while resetting their pending state
EvLoop::io
— Create EvIo watcher object associated with the current event loop instance
EvLoop::loopFork
— Must be called after a fork
EvLoop::now
— Returns the current "event loop time"
EvLoop::nowUpdate
— Establishes the current time by querying the kernel, updating the time returned by EvLoop::now in the progress.
EvLoop::periodic
— Creates EvPeriodic watcher object associated with the current event loop instance
EvLoop::prepare
— Creates EvPrepare watcher object associated with the current event loop instance
EvLoop::resume
— Resume previously suspended default event loop
EvLoop::run
— Begin checking for events and calling callbacks for the loop
EvLoop::signal
— Creates EvSignal watcher object associated with the current event loop instance
EvLoop::stat
— Creates EvStat watcher object associated with the current event loop instance
EvLoop::stop
— Stops the event loop
EvLoop::suspend
— Suspend the loop
EvLoop::timer
— Creates EvTimer watcher object associated with the current event loop instance
EvLoop::verify
— Performs internal consistency checks(for debugging)
EvPeriodic
— Класс EvPeriodic
EvPeriodic::again
— Simply stops and restarts the periodic watcher again.
EvPeriodic::at
— Returns the absolute time that this watcher is supposed to trigger next
EvPeriodic::__construct
— Constructs EvPeriodic watcher object
EvPeriodic::createStopped
— Create a stopped EvPeriodic watcher
EvPeriodic::set
— Configures the watcher
EvPrepare
— Класс EvPrepare
EvPrepare::__construct
— Конструктор наблюдателя EvPrepare
EvPrepare::createStopped
— Создать объект класса EvPrepare, но не стартовать его
EvSignal
— Класс EvSignal
EvSignal::__construct
— Constructs EvPeriodic watcher object
EvSignal::createStopped
— Create stopped EvSignal watcher object
EvSignal::set
— Configures the watcher
EvStat
— Класс EvStat
EvStat::attr
— Returns the values most recently detected by Ev
EvStat::__construct
— Constructs EvStat watcher object
EvStat::createStopped
— Create a stopped EvStat watcher object
EvStat::prev
— Returns the previous set of values returned by EvStat::attr
EvStat::set
— Configures the watcher
EvStat::stat
— Initiates the stat call
EvTimer
— Класс EvTimer
EvTimer::again
— Restarts the timer watcher
EvTimer::__construct
— Constructs an EvTimer watcher object
EvTimer::createStopped
— Creates EvTimer stopped watcher object
EvTimer::set
— Configures the watcher
EvWatcher
— Класс EvWatcher
EvWatcher::clear
— Clear watcher pending status
EvWatcher::__construct
— Abstract constructor of a watcher object
EvWatcher::feed
— Feeds the given revents set into the event loop
EvWatcher::getLoop
— Returns the loop responsible for the watcher
EvWatcher::invoke
— Invokes the watcher callback with the given received events bit mask
EvWatcher::keepalive
— Configures whether to keep the loop from returning
EvWatcher::setCallback
— Sets new callback for the watcher
EvWatcher::start
— Starts the watcher
EvWatcher::stop
— Stops the watcher
add a note
User Contributed Notes
There are no user contributed notes for this page.