Revision 388662e593ff46f367f9b312e6ec0d67bd2ce481 authored by Rene Brun on 14 January 2008, 11:08:39 UTC, committed by Rene Brun on 14 January 2008, 11:08:39 UTC
git-svn-id: http://root.cern.ch/svn/root/trunk@21679 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 73db752
TClProxy.cxx
// @(#)root/clarens:$Id$
// Author: Maarten Ballintijn 26/10/2004
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
//////////////////////////////////////////////////////////////////////////
// //
// TClProxy //
// //
// //
//////////////////////////////////////////////////////////////////////////
#include "TClProxy.h"
#include "xmlrpc.h"
#include "xmlrpc_client.h"
#include "Riostream.h"
#include "TClass.h"
#include "TXmlRpc.h"
ClassImp(TClProxy)
//______________________________________________________________________________
TClProxy::TClProxy(const Char_t *service, TXmlRpc *rpc)
: fRpc(rpc)
{
fRpc->SetService(service);
}
//______________________________________________________________________________
void TClProxy::Print(Option_t *) const
{
cout << IsA()->GetName()
<< ": service " << fRpc->GetService() << " @ "
<< fRpc->GetServer() << endl;
}
//______________________________________________________________________________
Bool_t TClProxy::RpcFailed(const Char_t *member, const Char_t *what)
{
// Test the environment for an error and report
TString where(this->ClassName());
where += "::";
where += member;
return fRpc->RpcFailed(where, what);
}
Computing file changes ...