Comunitatea PHP Romania
 

 
Class Summary Net_Server_Driver_Sequential

Class Summary Net_Server_Driver_Sequential

Class Summary Net_Server_Driver_Sequential -- Sequential server class.

Sequential server class.

This class will handles all connection in one server process. This allows you to build servers, where communication between the clients is easy. The drawback is that clients are served sequentially (hence the name). If you send large blocks of data to a client, the others will have to wait. For servers where communication between clients is not needed, use Net_Server_Fork instead.

Events that can be handled:

  • onStart

  • onConnect

  • onConnectionRefused

  • onClose

  • onReceiveData

  • onShutdown

Class Trees for Net_Server_Driver_Sequential

Net_Server_Driver_Sequential Inherited Methods

Table 50-1. Inherited from Net_Server_Driver

Method NameSummary
Net_Server_Driver::getLastSocketError()return string for last socket error
Net_Server_Driver::setCallbackObject()register a callback object, that is used to handle all events
Net_Server_Driver::setDebugMode()set debug mode

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
la birou
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
mihaitha mihaitha
Sibiu
Mascka Mascka
Braila
gabysolomon gabysolomon
Bacau
whooper whooper
Toronto ON
raul_ raul_
dechim dechim
Drobeta Turnu Severin
Amenthes Amenthes

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Auto Loans | Free Music Download | Personal Car Finance | Free phpBB forum | Apply for Credit Card
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis