Results of 1 - 10 of about 33 for EvWatcher (0.002 sec.)
- The EvWatcher class | PHP 8.3 11888
- The EvWatcher class (PECL ev >= 0.2.0) はじめに EvWatcher is a base class for all watchers( EvCheck , EvChild etc.). Since EvWatcher 's constructor is abstract , one can't(and don't need to) create EvWatcher objects directly. クラス概要 abs
... tract class EvWatcher { /* プロパティ */ public $ is_active ; public $ data ; public $ is_pending ; public $ priority ; /* メソッド */ abstract ... Idle watchers). EvIdle watchers provide functionality to suppress invocation when higher priority events are pending. 目次 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 re ...
-
https://man.mtool.work/php/8.3/class.evwatcher.html
- EvEmbed クラス | PHP 8.3 10460
- EvEmbed クラス (PECL ev >= 0.2.0) はじめに イベントループを別のイベントループに埋め込むために使います。 クラス概要 class EvEmbed extends EvWatcher { /* プロパティ */ public $ embed ; /* メソッド */ public function __construct ( object $othe
... ): void public function set ( object $other ): void public function sweep (): void /* 継承したメソッド */ public function EvWatcher::clear (): int public function EvWatcher::feed ( int $revents ): void public function EvWatcher::getLoop (): EvLoop public ... function EvWatcher::invoke ( int $revents ): void public function EvWatcher::keepalive ( bool $value = ? ): bool public function EvWatcher::s ... etCallback ( callable $callback ): void public function EvWatcher::start (): void public function EvWatcher::stop (): void } プロパティ is_active data is_pending priority embed 目次 EvEmbe ...
-
https://man.mtool.work/php/8.3/class.evembed.html
- EvFork クラス | PHP 8.3 10043
- EvFork クラス (PECL ev >= 0.2.0) はじめに Fork ウォッチャーが呼ばれるのは、 fork() を検出したときです (通常は、誰かが EvLoop::fork() を呼んで libev に通知します)。 起動するのは、イベントループが次の処理をブロックする前、 そして EvCheck ウォ
... セスで EvLoop::fork() を呼んだとしても、fork ハンドラが起動してしまうことに注意しましょう。 クラス概要 class EvFork extends EvWatcher { /* 継承したプロパティ */ public $ is_active ; public $ data ; public $ is_pending ; public $ priority ; /* メソッド */ p ... reateStopped ( string $callback , string $data = ? , string $priority = ? ): object /* 継承したメソッド */ public function EvWatcher::clear (): int public function EvWatcher::feed ( int $revents ): void public function EvWatcher::getLoop (): EvLoop public ... function EvWatcher::invoke ( int $revents ): void public function EvWatcher::keepalive ( bool $value = ? ): bool public function EvWatcher::s ...
-
https://man.mtool.work/php/8.3/class.evfork.html
- The EvIdle class | PHP 8.3 10043
- The EvIdle class (PECL ev >= 0.2.0) はじめに EvIdle watchers trigger events when no other events of the same or higher priority are pending ( EvPrepare , EvCheck and other EvIdle watchers do not count as receiving events ). Thus, as long as
... g as any idle watchers are active, the process will not block when waiting for new events. クラス概要 class EvIdle extends EvWatcher { /* 継承したプロパティ */ public $ is_active ; public $ data ; public $ is_pending ; public $ priority ; /* メソッド */ p ... on createStopped ( string $callback , mixed $data = ? , int $priority = ? ): object /* 継承したメソッド */ public function EvWatcher::clear (): int public function EvWatcher::feed ( int $revents ): void public function EvWatcher::getLoop (): EvLoop public ... function EvWatcher::invoke ( int $revents ): void public function EvWatcher::keepalive ( bool $value = ? ): bool public function EvWatcher::s ...
-
https://man.mtool.work/php/8.3/class.evidle.html
- The EvSignal class | PHP 8.3 9802
- The EvSignal class (PECL ev >= 0.2.0) はじめに EvSignal watchers will trigger an event when the process receives a specific signal one or more times. Even though signals are very asynchronous, libev will try its best to deliver signals sync
... l the signals can be blocked in an EvCheck watcher and unblocked in a EvPrepare watcher. クラス概要 class EvSignal extends EvWatcher { /* プロパティ */ public $ signum ; /* 継承したプロパティ */ public $ is_active ; public $ data ; public $ is_pending ; p ... ta = null , int $priority = 0 ): EvSignal public function set ( int $signum ): void /* 継承したメソッド */ public function EvWatcher::clear (): int public function EvWatcher::feed ( int $revents ): void public function EvWatcher::getLoop (): EvLoop public ... function EvWatcher::invoke ( int $revents ): void public function EvWatcher::keepalive ( bool $value = ? ): bool public function EvWatcher::s ...
-
https://man.mtool.work/php/8.3/class.evsignal.html
- The EvIo class | PHP 8.3 9561
- The EvIo class (PECL ev >= 0.2.0) はじめに EvIo watchers check whether a file descriptor(or socket, or a stream castable to numeric file descriptor) is readable or writable in each iteration of the event loop, or, more precisely, when readi
... timer, just to be sure they won't block infinitely. Always consider using non-blocking mode. クラス概要 class EvIo extends EvWatcher { /* プロパティ */ public $ fd ; public $ events ; /* 継承したプロパティ */ public $ is_active ; public $ data ; public $ ... l , int $priority = 0 ): EvIo public function set ( mixed $fd , int $events ): void /* 継承したメソッド */ public function EvWatcher::clear (): int public function EvWatcher::feed ( int $revents ): void public function EvWatcher::getLoop (): EvLoop public ... function EvWatcher::invoke ( int $revents ): void public function EvWatcher::keepalive ( bool $value = ? ): bool public function EvWatcher::s ...
-
https://man.mtool.work/php/8.3/class.evio.html
- The EvStat class | PHP 8.3 9369
- The EvStat class (PECL ev >= 0.2.0) はじめに EvStat monitors a file system path for attribute changes. It calls stat() on that path in regular intervals (or when the OS signals it changed) and sees if it changed compared to the last time, i
... watchers, as even with OS-supported change notifications, this can be resource-intensive. クラス概要 class EvStat extends EvWatcher { /* プロパティ */ public $ path ; public $ interval ; /* 継承したプロパティ */ public $ is_active ; public $ data ; publi ... function set ( string $path , float $interval ): void public function stat (): bool /* 継承したメソッド */ public function EvWatcher::clear (): int public function EvWatcher::feed ( int $revents ): void public function EvWatcher::getLoop (): EvLoop public ... function EvWatcher::invoke ( int $revents ): void public function EvWatcher::keepalive ( bool $value = ? ): bool public function EvWatcher::s ...
-
https://man.mtool.work/php/8.3/class.evstat.html
- The EvPeriodic class | PHP 8.3 9289
- The EvPeriodic class (PECL ev >= 0.2.0) はじめに Periodic watchers are also timers of a kind, but they are very versatile. Unlike EvTimer , EvPeriodic watchers are not based on real time(or relative time, the physical time that passes) but
... t values (but this is no longer true when a callback calls EvLoop::run() recursively). クラス概要 class EvPeriodic extends EvWatcher { /* プロパティ */ public $ offset ; public $ interval ; /* 継承したプロパティ */ public $ is_active ; public $ data ; pub ... ity = 0 ): EvPeriodic public function set ( float $offset , float $interval ): void /* 継承したメソッド */ public function EvWatcher::clear (): int public function EvWatcher::feed ( int $revents ): void public function EvWatcher::getLoop (): EvLoop public ... function EvWatcher::invoke ( int $revents ): void public function EvWatcher::keepalive ( bool $value = ? ): bool public function EvWatcher::s ...
-
https://man.mtool.work/php/8.3/class.evperiodic.html
- The EvTimer class | PHP 8.3 9240
- The EvTimer class (PECL ev >= 0.2.0) はじめに EvTimer watchers are simple relative timers that generate an event after a given time, and optionally repeating in regular intervals after that. The timers are based on real time, that is, if on
... those 10 seconds to do) the timer will not fire more than once per event loop iteration. クラス概要 class EvTimer extends EvWatcher { /* プロパティ */ public $ repeat ; public $ remaining ; /* 継承したプロパティ */ public $ is_active ; public $ data ; pu ... $priority = 0 ): EvTimer public function set ( float $after , float $repeat ): void /* 継承したメソッド */ public function EvWatcher::clear (): int public function EvWatcher::feed ( int $revents ): void public function EvWatcher::getLoop (): EvLoop public ... function EvWatcher::invoke ( int $revents ): void public function EvWatcher::keepalive ( bool $value = ? ): bool public function EvWatcher::s ...
-
https://man.mtool.work/php/8.3/class.evtimer.html
- EvChild クラス | PHP 8.3 9192
- EvChild クラス (PECL ev >= 0.2.0) はじめに EvChild ウォッチャーは、子プロセスの状態の変更 (たいていは、停止したり終了したりといったもの) に反応してこのプロセスが SIGCHLD を受け取ったときに起動します。 EvChild ウォッチャーは、子をフォークした
... りすることはできません。 EvChild ウォッチャーは、 デフォルトループ の中でだけ登録できます。 クラス概要 class EvChild extends EvWatcher { /* プロパティ */ public $ pid ; public $ rpid ; public $ rstatus ; /* 継承したプロパティ */ public $ is_active ; public ... , int $priority = ? ): object public function set ( int $pid , bool $trace ): void /* 継承したメソッド */ public function EvWatcher::clear (): int public function EvWatcher::feed ( int $revents ): void public function EvWatcher::getLoop (): EvLoop public ... function EvWatcher::invoke ( int $revents ): void public function EvWatcher::keepalive ( bool $value = ? ): bool public function EvWatcher::s ...
-
https://man.mtool.work/php/8.3/class.evchild.html