/[cvs]/nfo/php/libs/org.netfrag.flib/Application/RPC/Remote.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.flib/Application/RPC/Remote.php

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

revision 1.2 by joko, Thu Dec 5 21:45:31 2002 UTC revision 1.4 by jonen, Thu Dec 19 02:02:25 2002 UTC
# Line 3  Line 3 
3  ##    $Id$  ##    $Id$
4  ##    --------------------------------------------------------------------------  ##    --------------------------------------------------------------------------
5  ##    $Log$  ##    $Log$
6    ##    Revision 1.4  2002/12/19 02:02:25  jonen
7    ##    + minor changes
8    ##
9    ##    Revision 1.3  2002/12/19 01:59:37  jonen
10    ##    + minor changes: coment debug prints
11    ##
12  ##    Revision 1.2  2002/12/05 21:45:31  joko  ##    Revision 1.2  2002/12/05 21:45:31  joko
13  ##    + debugging  ##    + debugging
14  ##  ##
# Line 40  class Remote { Line 46  class Remote {
46    
47    function call($command, $data = "", $decode = 0) {    function call($command, $data = "", $decode = 0) {
48    
49  //print "call: <hr>";    // print "call: $command<hr>";
50    
51      // data      // data
52        $data_enc = XML_RPC_encode($data);        $data_enc = XML_RPC_encode($data);
# Line 53  class Remote { Line 59  class Remote {
59        $rpc->setDebug(0);        $rpc->setDebug(0);
60        if ( !$msg_response = $rpc->send($msg) ) {        if ( !$msg_response = $rpc->send($msg) ) {
61          // TODO: redirect this error elsewhere!          // TODO: redirect this error elsewhere!
62          //print "RPC-error!<br>";          print "RPC-error!<br>";
63          return;          return;
64        }        }
65      // message - response      // message - response

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

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