/**
  * Parent method wrapper for error messages
  */
 protected function _error($message)
 {
     $this->___parent->__error($message);
 }
Ejemplo n.º 2
0
#!/usr/local/bin/php
<?php 
// Set the include path
set_include_path('.' . PATH_SEPARATOR . dirname(dirname(dirname(__FILE__))) . '/lib' . PATH_SEPARATOR . get_include_path());
// Enable Zend Autoloader
require_once "Zend/Loader/Autoloader.php";
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('A2o_');
// Instantiate the application server object
$AppSrvDemo = new A2o_AppSrv('/opt/daemons/A2o/AppSrv/examples/demo_xmlrpc/demo.ini');
// Include the Worker class
require dirname(__FILE__) . '/A2o_AppSrv_Worker_DemoXmlRpc.php';
//$AppSrvDemo->setClassName_worker('A2o_AppSrv_Worker_DemoXmlRpc'); // This is already done in config file
// Run the application server
$AppSrvDemo->run();