\CodeBankAMFServer
Synopsis
class CodeBankAMFServer
extends Zend_Amf_Server
{
- // Inherited members from Zend_Amf_Server
- protected array $_methods;
- protected array $_classAllowed;
- protected Zend_Loader_PluginLoader $_loader;
- protected bool $_production;
- protected null|Zend_Amf_Request $_request;
- protected null|Zend_Amf_Response $_response;
- protected array $_table;
- protected bool $_session;
- protected Zend_Session_NameSpace $_sesionNamespace;
- protected string $_sessionName;
- protected Zend_Amf_Auth_Abstract $_auth;
- protected Zend_Acl $_acl;
- // methods
- protected {mixed} _dispatch()
- protected void _buildDispatchTable()
- public bool isSession()
- protected void _canAccess()
- // Inherited methods from Zend_Amf_Server
- public void __construct()
- public Zend_Amf_Server setAuth()
- public Zend_Amf_Auth_Abstract getAuth()
- public Zend_Amf_Server setAcl()
- public Zend_Acl getAcl()
- public Zend_Amf_Server setProduction()
- public bool isProduction()
- public Zend_Amf_Server setSession()
- public bool isSession()
- protected unknown_type _checkAcl()
- protected Zend_Loader_PluginLoader getLoader()
- protected mixed _dispatch()
- protected Zend_Amf_Value_Messaging_AcknowledgeMessage _loadCommandMessage()
- protected Zend_Amf_Value_Messaging_ErrorMessage|array _errorMessage()
- protected boolean _handleAuth()
- protected Zend_Amf_Response _handle()
- public Zend_Amf_Response handle()
- public Zend_Amf_Server setRequest()
- public null|Zend_Amf_Request getRequest()
- public Zend_Amf_Server setResponse()
- public Zend_Amf_Server_Response getResponse()
- public Zend_Amf_Server setClass()
- public Zend_Amf_Server addFunction()
- public void addDirectory()
- public array getDirectory()
- protected void _buildDispatchTable()
- public void fault()
- public array getFunctions()
- public void setPersistence()
- public void loadFunctions()
- public Zend_Amf_Server setClassMap()
- public array listMethods()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
492+ | should implement and SPL observer pattern for custom AMF headers |
492+ | DescribeService support |
117+ | Determine how to implement this |
Members
protected
- $_acl
—
Zend_Acl
ACL handler object - $_auth
—
Zend_Amf_Auth_Abstract
Authentication handler object - $_classAllowed
—
array
Array of classes that can be called without being explicitly loaded - $_loader
—
Zend_Loader_PluginLoader
Loader for classes in added directories - $_methods
—
array
Array of dispatchables - $_production — bool
- $_request
—
null|Zend_Amf_Request
Request processed - $_response
—
null|Zend_Amf_Response
Class to use for responses - $_sesionNamespace
—
Zend_Session_NameSpace
Namespace allows all AMF calls to not clobber other PHP session variables - $_session — bool
- $_sessionName
—
string
Set the default session.name if php_ - $_table
—
array
Dispatch table of name => method pairs
Methods
protected
- _buildDispatchTable() — (Re)Build the dispatch table. The dispatch table consists of a an array of method name => Zend_Server_Reflection_Function_Abstract pairs
- _canAccess() — Checks to see if the member can access the requested class
- _dispatch() — Loads a remote class or method and executes the function and returns the result
public
- isSession() — Whether of not the server is using sessions
Inherited from Zend_Amf_Server
protected
- _buildDispatchTable() — (Re)Build the dispatch table
- _checkAcl() — Check if the ACL allows accessing the function or method
- _dispatch() — Loads a remote class or method and executes the function and returns the result
- _errorMessage() — Create appropriate error message
- _handle() — Takes the deserialized AMF request and performs any operations.
- _handleAuth() — Handle AMF authentication
- _loadCommandMessage() — Handles each of the 11 different command message types.
- getLoader() — Get PluginLoader for the Server
public
- addDirectory() — Creates an array of directories in which services can reside.
- addFunction() — Attach a function to the server
- fault() — Raise a server fault
- getAcl() — Get ACL adapter
- getAuth() — Get authentication adapter
- getDirectory() — Returns an array of directories that can hold services.
- getFunctions() — Returns a list of registered methods
- getRequest() — Return currently registered request object
- getResponse() — get a reference to the Zend_Amf_response instance
- handle() — Handle an AMF call from the gateway.
- isProduction() — Whether or not the server is in production
- isSession() — Whether of not the server is using sessions
- listMethods() — List all available methods
- loadFunctions() — Load server definition
- setAcl() — Set ACL adapter
- setAuth() — Set authentication adapter
- setClass() — Attach a class or object to the server
- setClassMap() — Map ActionScript classes to PHP classes
- setPersistence() — Set server persistence
- setProduction() — Set production flag
- setRequest() — Set request object
- setResponse() — Public access method to private Zend_Amf_Server_Response reference
- setSession()