/[cvs]/nfo/php/libs/org.netfrag.glib/DataSource/Proxy/XMLRPC.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/DataSource/Proxy/XMLRPC.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by joko, Fri Apr 4 21:23:29 2003 UTC revision 1.8 by joko, Wed Jun 16 15:36:19 2004 UTC
# Line 14  Line 14 
14  ##    $Id$  ##    $Id$
15  ##    --------------------------------------------------------------------------  ##    --------------------------------------------------------------------------
16  ##    $Log$  ##    $Log$
17    ##    Revision 1.8  2004/06/16 15:36:19  joko
18    ##    changed semantics to call Data::Encode
19    ##
20    ##    Revision 1.7  2003/04/18 15:42:26  joko
21    ##    minor update to comment
22    ##
23  ##    Revision 1.6  2003/04/04 21:23:29  joko  ##    Revision 1.6  2003/04/04 21:23:29  joko
24  ##    session-based rpc-communcation: revamped code (especially 'function _call')  ##    session-based rpc-communcation: revamped code (especially 'function _call')
25  ##    renamed state-handling trigger-methods: now _sleep and _wakeup  ##    renamed state-handling trigger-methods: now _sleep and _wakeup
# Line 190  class DataSource_Proxy_XMLRPC extends Cl Line 196  class DataSource_Proxy_XMLRPC extends Cl
196      if ($options[utf8]) {      if ($options[utf8]) {
197        $encoder = new Data_Encode($data);        $encoder = new Data_Encode($data);
198        $encoder->toUTF8();        $encoder->toUTF8();
199          $data = $encoder->get_result();
200      }      }
201      // call '_call' with 'decode'      // call '_call' with 'decode'
202      return $this->_call($command, $data, $options);      return $this->_call($command, $data, $options);
# Line 293  class DataSource_Proxy_XMLRPC extends Cl Line 300  class DataSource_Proxy_XMLRPC extends Cl
300          //if ($options[to_latin]) {          //if ($options[to_latin]) {
301            $encoder = new Data_Encode($data);            $encoder = new Data_Encode($data);
302            $encoder->toISO();            $encoder->toISO();
303              $data = $encoder->get_result();
304          //}          //}
305                    
306          $this->_be_connected();          $this->_be_connected();
# Line 413  class DataSource_Proxy_XMLRPC extends Cl Line 421  class DataSource_Proxy_XMLRPC extends Cl
421    }    }
422    
423        
424    // TODO: introduce condition: just do if connection requires session/auth    // TODO: introduce condition: just do if connection requires session and/or auth
425    function _hook_request(&$request) {    function _hook_request(&$request) {
426            
427      //print Dumper($request);      //print Dumper($request);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed