PHP Class PHPDaemon\Core\EventLoop

Show file Open project: kakserpom/phpdaemon Class Usage Examples

Public Properties

Property Type Description
$instance

Protected Properties

Property Type Description
$base
$callbacks
$dnsBase
$stopped

Public Methods

Method Description
__construct ( ) EventLoop constructor.
bufferEvent ( $args ) : EventBufferEvent
bufferEventSsl ( $args ) : mixed
event ( $args ) : Event
free ( ) Free
getBase ( ) : EventBase
getDnsBase ( ) : EventDnsBase
init ( ) Init
interrupt ( null $cb = null )
listener ( $args ) : EventListener
reinit ( ) Reinit
run ( ) Run
signal ( $args ) : mixed
stop ( ) Stop
timer ( $args ) : mixed

Method Details

__construct() public method

EventLoop constructor.
public __construct ( )

bufferEvent() public method

public bufferEvent ( $args ) : EventBufferEvent
$args
return EventBufferEvent

bufferEventSsl() public method

public bufferEventSsl ( $args ) : mixed
$args
return mixed

event() public method

public event ( $args ) : Event
$args
return Event

free() public method

Free
public free ( )

getBase() public method

public getBase ( ) : EventBase
return EventBase

getDnsBase() public method

public getDnsBase ( ) : EventDnsBase
return EventDnsBase

init() public static method

Init
public static init ( )

interrupt() public method

public interrupt ( null $cb = null )
$cb null

listener() public method

public listener ( $args ) : EventListener
$args
return EventListener

reinit() public method

Reinit
public reinit ( )

run() public method

Run
public run ( )

signal() public method

public signal ( $args ) : mixed
$args
return mixed

stop() public method

Stop
public stop ( )

timer() public method

public timer ( $args ) : mixed
$args
return mixed

Property Details

$base protected property

protected $base

$callbacks protected property

protected $callbacks

$dnsBase protected property

protected $dnsBase

$instance public static property

public static $instance

$stopped protected property

protected $stopped