PHP Class PHPDaemon\Clients\ICMP\Connection

Author: Vasily Zorin ([email protected])
Inheritance: extends PHPDaemon\Network\ClientConnection
Afficher le fichier Open project: kakserpom/phpdaemon

Protected Properties

Свойство Type Description
$bevConnectEnabled Enable bevConnect?
$seq Packet sequence
$unreachableCodes array @TODO DESCR

Méthodes publiques

Méthode Description
onRead ( ) : void Called when new data received
sendEcho ( callable $cb, string $data = 'phpdaemon' ) : void Send echo-request

Méthodes protégées

Méthode Description
checksum ( string $data ) : string Build checksum

Method Details

checksum() protected static méthode

Build checksum
protected static checksum ( string $data ) : string
$data string Source
Résultat string Checksum

onRead() public méthode

Called when new data received
public onRead ( ) : void
Résultat void

sendEcho() public méthode

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

Property Details

$bevConnectEnabled protected_oe property

Enable bevConnect?
protected $bevConnectEnabled

$seq protected_oe property

Packet sequence
protected $seq

$unreachableCodes protected_oe static_oe property

@TODO DESCR
protected static array $unreachableCodes
Résultat array