Php/docs/class.evembed
(PECL ev >= 0.2.0)
简介
Used to embed one event loop into another.
类摘要
EvEmbed extends EvWatcher {
public
$embed
/* 方法 */
public
__construct
(
object
$other
[,
callable
$callback
[,
mixed
$data
[,
int
$priority
]]] )
final
public
static
createStopped
(
object
$other
[,
callable
$callback
[,
mixed
$data
[,
int
$priority
]]] ) : void
public
set
(
object
$other
) : void
public sweep ( ) : void
/* 继承的方法 */
public EvWatcher::clear ( ) : int
abstract public EvWatcher::__construct ( )
public
EvWatcher::feed
(
int
$revents
) : void
public EvWatcher::getLoop ( ) : EvLoop
public
EvWatcher::invoke
(
int
$revents
) : void
public
EvWatcher::keepalive
([
bool
$value
] ) : bool
public
EvWatcher::setCallback
(
callable
$callback
) : void
public EvWatcher::start ( ) : void
public EvWatcher::stop ( ) : void
}
属性
is_active
data
is_pending
priority
embed
Table of Contents
- 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
/* 属性 */