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

Class: NS_Direct_JSON_RPC_Service_Handler

Source Location: /handlers/NS_Direct_JSON_RPC_Service_Handler.php

Class Overview

NS_Handler
   |
   --NS_Connection_Handler
      |
      --NS_HTTP_Service_Handler
         |
         --NS_JSON_RPC_Service_Handler
            |
            --NS_Direct_JSON_RPC_Service_Handler

Direct JSON-RPC server class


Author(s):

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: NS_JSON_RPC_Service_Handler

NS_JSON_RPC_Service_Handler::on_Call()
Event called on JSON-RPC method call
NS_JSON_RPC_Service_Handler::on_Request()

Class: NS_HTTP_Service_Handler

NS_HTTP_Service_Handler::__construct()
NS_HTTP_Service_Handler::Handle_Request()
NS_HTTP_Service_Handler::on_Read()

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 40]
Direct JSON-RPC server class

If you extend this handler, your methods will be publicly callable by the name they have in PHP




Tags:

abstract:  


[ Top ]


Class Methods


method on_Call [line 42]

void on_Call( $method, $args)



Tags:

access:  public


Overrides NS_JSON_RPC_Service_Handler::on_Call() (Event called on JSON-RPC method call)

Parameters:

   $method  
   $args  

[ Top ]


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