nanoserv
[ class tree: nanoserv ] [ index: nanoserv ] [ all elements ]

Class: NS_Line_Input_Connection_Handler

Source Location: /handlers/NS_Line_Input_Connection_Handler.php

Class Overview

NS_Handler
   |
   --NS_Connection_Handler
      |
      --NS_Line_Input_Connection_Handler

Line input connection handler class


Author(s):

Constants

Methods


Child classes:

NS_SMTP_Service_Handler
SMTP Service handler class

Inherited Constants

Inherited Variables

Inherited Methods

Class: NS_Connection_Handler

NS_Connection_Handler::Connect()
Connect
NS_Connection_Handler::Disconnect()
Disconnect
NS_Connection_Handler::on_Accept()
Event called on received connection
NS_Connection_Handler::on_Connect()
Event called on established connection
NS_Connection_Handler::on_Connect_Fail()
Event called on failed connection
NS_Connection_Handler::on_Disconnect()
Event called on disconnection
NS_Connection_Handler::on_Fork_Done()
Event called after forking, both on master and child processes
NS_Connection_Handler::on_Fork_Prepare()
Event called before forking
NS_Connection_Handler::on_Read()
Event called on data reception
NS_Connection_Handler::Write()
Send data over the connection
NS_Connection_Handler::Write_Stream()
Send open stream over the connection

Class: NS_Handler

NS_Handler::Set_Option()
Set a stream context option

Class Details

[line 38]
Line input connection handler class



Tags:

abstract:  


[ Top ]


Class Methods


method on_Read [line 56]

void on_Read( $data)



Tags:

access:  public


Overrides NS_Connection_Handler::on_Read() (Event called on data reception)

Parameters:

   $data  

[ Top ]

method on_Read_Line [line 83]

void on_Read_Line( string $data)

Event called on new line of data



Tags:

abstract:  
access:  public


Overridden in child classes as:

NS_SMTP_Service_Handler::on_Read_Line()

Parameters:

string   $data  

[ Top ]


Class Constants

EOL_SEPARATOR =  "\n"

[line 48]

Line separator


[ Top ]

MAX_LENGTH =  16384

[line 43]

Maximum line length


[ Top ]



Documentation generated on Thu, 10 May 2012 22:01:24 +0200 by phpDocumentor 1.4.4