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

Class: NS_Telnet_Line_Input_Connection

Source Location: /handlers/NS_Telnet_Line_Input_Handler.php

Class Overview

NS_Handler
   |
   --NS_Connection_Handler
      |
      --NS_Telnet_Handler
         |
         --NS_Telnet_Line_Input_Connection

Telnet with line input protocol handler handler class


Author(s):

Constants

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: NS_Telnet_Handler

NS_Telnet_Handler::on_Read()
NS_Telnet_Handler::on_Telnet_Read()
Telnet read event
NS_Telnet_Handler::Raw_Write()
NS_Telnet_Handler::Send_Option()
NS_Telnet_Handler::Write()

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]
Telnet with line input protocol handler handler class



Tags:

abstract:  


[ Top ]


Class Methods


method on_Telnet_Read [line 65]

void on_Telnet_Read( $data, string $s)

Telnet read event

This event is called every time there is data received The behavior of on_Telnet_Read() is to buffer data until a complete line in available and then pass it to on_Telnet_Read_Line().




Tags:

access:  public


Overrides NS_Telnet_Handler::on_Telnet_Read() (Telnet read event)

Parameters:

string   $s  
   $data  

[ Top ]

method on_Telnet_Read_Line [line 94]

void on_Telnet_Read_Line( string $s)

Telnet line read event

This event is called every time there is a line of data received




Tags:

abstract:  
access:  public


Parameters:

string   $s  

[ 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:25 +0200 by phpDocumentor 1.4.4