00001 // @(#)root/clarens:$Id: TEcho.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Maarten Ballintijn 25/10/2004 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TEcho 00013 #define ROOT_TEcho 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 // // 00017 // TEcho // 00018 // // 00019 // // 00020 ////////////////////////////////////////////////////////////////////////// 00021 00022 #ifndef ROOT_TClProxy 00023 #include "TClProxy.h" 00024 #endif 00025 00026 00027 class TString; 00028 class TXmlRpc; 00029 00030 00031 class TEcho : public TClProxy { 00032 public: 00033 TEcho(TXmlRpc *rpc); 00034 virtual ~TEcho() { } 00035 00036 Bool_t Echo(const Char_t *in, TString &out); 00037 Bool_t Hostname(TString &name, TString &ip); 00038 00039 void Benchmark(Int_t iterations); 00040 00041 ClassDef(TEcho,0); // Echo proxy 00042 }; 00043 00044 #endif