PHP Class morozovsk\websocket\GenericLibevent

显示文件 Open project: morozovsk/websocket

Public Properties

Property Type Description
$timer event buffers

Protected Properties

Property Type Description
$_master
$_read
$_server
$_service
$_write read buffers
$clients
$services

Public Methods

Method Description
start ( )

Protected Methods

Method Description
_read ( $connectionId )
_readFromBuffer ( $connectionId )
_write ( $connectionId, $data, $delimiter = '' )
close ( $connectionId )

Private Methods

Method 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 method

protected _read ( $connectionId )

_readFromBuffer() protected method

protected _readFromBuffer ( $connectionId )

_write() protected method

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

close() protected method

protected close ( $connectionId )

start() public method

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