PHP Class morozovsk\websocket\GenericLibevent

Afficher le fichier Open project: morozovsk/websocket

Méthodes publiques

Свойство Type Description
$timer event buffers

Protected Properties

Свойство Type Description
$_master
$_read
$_server
$_service
$_write read buffers
$clients
$services

Méthodes publiques

Méthode Description
start ( )

Méthodes protégées

Méthode Description
_read ( $connectionId )
_readFromBuffer ( $connectionId )
_write ( $connectionId, $data, $delimiter = '' )
close ( $connectionId )

Private Methods

Méthode Description
_onTimer ( $connection, $flag, $timer )
accept ( $socket, $flag, $base )
master ( $connection, $flag, $base )
onError ( $buffer, $error, $connectionId )
onRead ( $buffer, $connectionId )
onWrite ( $buffer, $connectionId )
service ( $socket, $flag, $base )

Method Details

_read() protected méthode

protected _read ( $connectionId )

_readFromBuffer() protected méthode

protected _readFromBuffer ( $connectionId )

_write() protected méthode

protected _write ( $connectionId, $data, $delimiter = '' )

close() protected méthode

protected close ( $connectionId )

start() public méthode

public start ( )

Property Details

$_master protected_oe property

protected $_master

$_read protected_oe property

protected $_read

$_server protected_oe property

protected $_server

$_service protected_oe property

protected $_service

$_write protected_oe property

read buffers
protected $_write

$clients protected_oe property

protected $clients

$services protected_oe property

protected $services

$timer public_oe property

event buffers
public $timer