PHP 클래스 JAXLSocketServer, JAXL

파일 보기 프로젝트 열기: jaxl/JAXL 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$fd

공개 메소드들

메소드 설명
__construct ( $path, $accept_cb, $request_cb )
__destruct ( )
close ( $client_id )
on_client_read_ready ( $client )
on_client_write_ready ( $client )
on_server_accept_ready ( $server )
read ( $client_id )
send ( integer $client_id, string $data )

보호된 메소드들

메소드 설명
add_read_cb ( $client_id )
add_write_cb ( $client_id )
del_read_cb ( $client_id )
del_write_cb ( $client_id )

메소드 상세

__construct() 공개 메소드

public __construct ( $path, $accept_cb, $request_cb )

__destruct() 공개 메소드

public __destruct ( )

add_read_cb() 보호된 메소드

protected add_read_cb ( $client_id )

add_write_cb() 보호된 메소드

protected add_write_cb ( $client_id )

close() 공개 메소드

public close ( $client_id )

del_read_cb() 보호된 메소드

protected del_read_cb ( $client_id )

del_write_cb() 보호된 메소드

protected del_write_cb ( $client_id )

on_client_read_ready() 공개 메소드

public on_client_read_ready ( $client )

on_client_write_ready() 공개 메소드

public on_client_write_ready ( $client )

on_server_accept_ready() 공개 메소드

public on_server_accept_ready ( $server )

read() 공개 메소드

public read ( $client_id )

send() 공개 메소드

public send ( integer $client_id, string $data )
$client_id integer
$data string

프로퍼티 상세

$fd 공개적으로 프로퍼티

public $fd