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

Class: NS_DHCP_Handler

Source Location: /handlers/NS_DHCP_Handler.php

Class Overview

NS_Handler
   |
   --NS_Datagram_Handler
      |
      --NS_DHCP_Handler

DHCP protocol handler handler class


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: NS_Datagram_Handler

NS_Datagram_Handler::__construct()
NS_Datagram_Handler constructor
NS_Datagram_Handler::Activate()
Activate the listener
NS_Datagram_Handler::Deactivate()
Deactivate the listener
NS_Datagram_Handler::on_Read()
Event called on data reception
NS_Datagram_Handler::Write()
Send data over the connection
NS_Datagram_Handler::__destruct()
NS_Datagram_Handler destructor

Class: NS_Handler

NS_Handler::Set_Option()
Set a stream context option

Class Details

[line 300]
DHCP protocol handler handler class



Tags:

abstract:  


[ Top ]


Class Methods


method on_DHCP_Message [line 314]

void on_DHCP_Message( string $from, NS_DHCP_Message $msg)

Event called when a DHCP message is received



Tags:

abstract:  
access:  public


Parameters:

string   $from   ip address and port of the sending side
NS_DHCP_Message   $msg  

[ Top ]

method on_Read [line 302]

void on_Read( $from, $data)



Tags:

access:  public


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

Parameters:

   $from  
   $data  

[ Top ]


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