PHP 클래스 PHPDaemon\Clients\ICMP\Connection

저자: Vasily Zorin ([email protected])
상속: extends PHPDaemon\Network\ClientConnection
파일 보기 프로젝트 열기: kakserpom/phpdaemon

보호된 프로퍼티들

프로퍼티 타입 설명
$bevConnectEnabled Enable bevConnect?
$seq Packet sequence
$unreachableCodes array @TODO DESCR

공개 메소드들

메소드 설명
onRead ( ) : void Called when new data received
sendEcho ( callable $cb, string $data = 'phpdaemon' ) : void Send echo-request

보호된 메소드들

메소드 설명
checksum ( string $data ) : string Build checksum

메소드 상세

checksum() 보호된 정적인 메소드

Build checksum
protected static checksum ( string $data ) : string
$data string Source
리턴 string Checksum

onRead() 공개 메소드

Called when new data received
public onRead ( ) : void
리턴 void

sendEcho() 공개 메소드

Send echo-request
public sendEcho ( callable $cb, string $data = 'phpdaemon' ) : void
$cb callable Callback
$data string Data
리턴 void

프로퍼티 상세

$bevConnectEnabled 보호되어 있는 프로퍼티

Enable bevConnect?
protected $bevConnectEnabled

$seq 보호되어 있는 프로퍼티

Packet sequence
protected $seq

$unreachableCodes 보호되어 있는 정적으로 프로퍼티

@TODO DESCR
protected static array $unreachableCodes
리턴 array