PHP Class morozovsk\websocket\GenericEvent

Mostrar archivo 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
accept ( $listener, $connectionId, $address, $id )
onError ( $buffer, $error, $connectionId )
onRead ( $buffer, $connectionId )
onWrite ( $buffer, $connectionId )
service ( $listener, $connectionId, $address, $id )
start ( )

Protected Methods

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

Method Details

_read() protected method

protected _read ( $connectionId )

_readFromBuffer() protected method

protected _readFromBuffer ( $connectionId )

_write() protected method

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

accept() public method

public accept ( $listener, $connectionId, $address, $id )

close() protected method

protected close ( $connectionId )

onError() public method

public onError ( $buffer, $error, $connectionId )

onRead() public method

public onRead ( $buffer, $connectionId )

onWrite() public method

public onWrite ( $buffer, $connectionId )

service() public method

public service ( $listener, $connectionId, $address, $id )

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