Net_Server_Handler::onReceiveData()

Net_Server_Handler::onReceiveData() -- onReceiveData handler

Synopsis

require_once 'ServerHandler.php';

void Net_Server_Handler::onReceiveData ([integer $clientId = 0 [, string $data = ""]])

Description

This handler is called, when a client sends data to the server Available in:

Paramètres

entier $clientId

unique id of the client, in Net_Server_Fork, this is always 0

chaîne de caractères $data

data that the client sent

Valeurs renvoyées

throws no exceptions thrown

Note

Cette fonction ne peut pas être appelée de façon statique.