Net_Server_Handler::onClose

Net_Server_Handler::onClose() – onClose handler

Synopsis

require_once 'ServerHandler.php';

void Net_Server_Handler::onClose ( integer $clientId = 0 )

Описание

This handler is called, when a client disconnects from the server Available in:

  • Net_Server_Sequential

  • Net_Server_Fork

Parameter

integer $clientId

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

Throws

throws no exceptions thrown

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ