previousNet_Server_Handler::onConnectionRefused (Previous) (Next) Net_Server_Handler::onReceiveDatanext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Net_Server_Handler::onIdle

Net_Server_Handler::onIdle() – onIdle handler

Synopsis

require_once 'ServerHandler.php';

void Net_Server_Handler::onIdle ( )

Description

This handler is called whenever the server is idle (has nothing to do), and that for a given number of seconds (timeout). Currently, only the sequential driver supports this handler.

The timeout can be specified by passing the desired number of seconds to setIdleTimeout(). By default, the timeout is set to NULL, which means that the handler is deactivated.

Note

This function can not be called statically.

previousNet_Server_Handler::onConnectionRefused (Previous) (Next) Net_Server_Handler::onReceiveDatanext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.