PHP 클래스 PHPDaemon\Clients\DNS\Connection

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

공개 프로퍼티들

프로퍼티 타입 설명
$response Response

보호된 프로퍼티들

프로퍼티 타입 설명
$highMark Default high mark. Maximum number of bytes in buffer.
$lowMark Default low mark. Minimum number of bytes in buffer.
$pctSize Current packet size
$rcodeMessages
$seq Sequence

공개 메소드들

메소드 설명
get ( string $hostname, callable $cb ) : void Gets the host information
onFinish ( ) : void Called when connection finishes
onRead ( ) : void Called when new data received
onUdpPacket ( string $pct ) : void Called when new UDP packet received.

보호된 메소드들

메소드 설명
getMessageByRcode ( integer $rcode ) : string

메소드 상세

get() 공개 메소드

Gets the host information
public get ( string $hostname, callable $cb ) : void
$hostname string Hostname
$cb callable Callback
리턴 void

getMessageByRcode() 보호된 메소드

protected getMessageByRcode ( integer $rcode ) : string
$rcode integer
리턴 string

onFinish() 공개 메소드

Called when connection finishes
public onFinish ( ) : void
리턴 void

onRead() 공개 메소드

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

onUdpPacket() 공개 메소드

Called when new UDP packet received.
public onUdpPacket ( string $pct ) : void
$pct string
리턴 void

프로퍼티 상세

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

Default high mark. Maximum number of bytes in buffer.
protected $highMark

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

Default low mark. Minimum number of bytes in buffer.
protected $lowMark

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

Current packet size
protected $pctSize

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

protected $rcodeMessages

$response 공개적으로 프로퍼티

Response
public $response

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

Sequence
protected $seq