System.Web.Services
[ class tree: System.Web.Services ] [ index: System.Web.Services ] [ all elements ]

Class: TService_Callback

Source Location: /Web/Services/TService_Callback.php

Class Overview

TService
   |
   --TService_Callback

Callback service handler.

Class Details

[line 33]
Callback service handler.

Encapsulates the callback server as a service.




version:  $Revision: 1.5 $ $Date: 2005/11/06 23:02:33 $
author:  Wei Zhuo<weizhuo[at]gmail[dot]com>


[ Top ]

Variables

Methods


Inherited Methods

Class: TService

TService::execute()
Execute the service.
TService::findClass()
Find the class name from e,g. "My.NameSpace.MyClass" and returns "MyClass".
TService::getClientUri()
Return the service client URI. e.g. the URI to access the service.
TService::IsRequestServiceable()
Determine from the current URI if this service should server the request.

Class Variables

$server =

[line 39]

Callback server



access:  protected

Type:   TCallbackServer


[ Top ]



Class Methods


constructor __construct [line 53]

TService_Callback __construct( )

Create a new Callack server.



[ Top ]

method execute [line 70]

void execute( )

Handle the callback request.



Overrides TService::execute() (Execute the service.)

[ Top ]

method getClientUri [line 124]

string getClientUri( )

Gets the client javascript source URL.



return:  client-side javascript source URL
access:  public


Overrides TService::getClientUri() (Return the service client URI. e.g. the URI to access the service.)

[ Top ]

method getRequestID [line 106]

string getRequestID( )

Gets the control ID that handles the callback event.



return:  callback handler control ID.
access:  public


[ Top ]

method isCallback [line 88]

boolean isCallback( )

Returns true if a valid callback request



return:  true if valid callback, false otherwise


[ Top ]

method IsRequestServiceable [line 45]

boolean IsRequestServiceable( mixed $request)

Callback requests are to be executed within a page.



return:  always false.


Overrides TService::IsRequestServiceable() (Determine from the current URI if this service should server the request.)

[ Top ]

method isServiceRequest [line 97]

boolean isServiceRequest( )

Returns true if a AJAX request, including javascript code requests.



return:  true if AJAX request.


[ Top ]

method loadCallBackPostData [line 115]

void loadCallBackPostData( )

Loads callback post data into $_REQUEST.



access:  public


[ Top ]

method register [line 79]

void register( string|object the $object)

Register callback objects.



Parameters:

string|object the   $object   page that handles the callback request

[ Top ]

method server [line 62]

TCallbackServer server( )

Returns the current Callback server.



access:  public


[ Top ]


© 2004-2005 PRADO Software Group. All Rights Reserved.