/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Utilities/JobInfoSvc/JobInfoSvc-00-00-02/xmlrpc++0.7/test/HelloServer.cpp File Reference

#include "XmlRpc.h"
#include <iostream>
#include <stdlib.h>

Go to the source code of this file.

Classes

class  Hello
class  HelloName
class  Sum

Functions

int main (int argc, char *argv[])

Variables

XmlRpcServer s
Hellos
HelloNames
Sums


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 61 of file HelloServer.cpp.

References XmlRpc::XmlRpcServer::bindAndListen(), XmlRpc::XmlRpcServer::enableIntrospection(), s, XmlRpc::setVerbosity(), and XmlRpc::XmlRpcServer::work().

00062 {
00063   if (argc != 2) {
00064     std::cerr << "Usage: HelloServer serverPort\n";
00065     return -1;
00066   }
00067   int port = atoi(argv[1]);
00068 
00069   XmlRpc::setVerbosity(5);
00070 
00071   // Create the server socket on the specified port
00072   s.bindAndListen(port);
00073 
00074   // Enable introspection
00075   s.enableIntrospection(true);
00076 
00077   // Wait for requests indefinitely
00078   s.work(-1.0);
00079 
00080   return 0;
00081 }


Variable Documentation

Sum& s

HelloName& s

Hello& s

XmlRpcServer s

Definition at line 11 of file HelloServer.cpp.

Referenced by XmlRpc::XmlRpcServer::acceptConnection(), xmlBase::Dom::addAttribute(), rdbModel::Supersede::addSet(), rhopifull::amps1(), VVS::amps1(), EvtCyclic3::append(), FTTrack::append_stereo(), TRunge::approach_line(), T3DLine::approach_line(), XmlRpc::XmlRpcValue::arrayToXml(), TRadSpline5::BuildCoeff(), rdbModel::XercesBuilder::buildInterRow(), TBuilder::buildStereo(), TBuilder::buildStereoNew(), rdbModel::XercesBuilder::buildSupersede(), TrkMomCalculator::calcCurvAllCovs(), TrkMomCalculator::calcCurvAllWeights(), SingleParticleGun::callGenerator(), TBuilder0::check2CnHits(), Code::Code(), FTSuperLayer::connect_singleHit(), TBuilder0::consectiveHits(), ers::StreamFactory::create_stream(), TConformalFinder::crossPoints(), EvtDecayMode::dal(), RecMdcKalTrackCnv::DataObjectToTObject(), RkFitMaterial::dE(), KalFitMaterial::dE(), EvtVVSPwave::decay(), EvtVPHOtoVISRHi::decay(), EvtVPHOtoVISR::decay(), EvtSVSCPiso::decay(), EvtBtoXsll::decay(), TConformalFinder::deleteTrack(), TRunge::dEpath(), BesTofDigitizerEcV4::Digitize(), TConformalFinder::direction(), ers::StreamFactory::dispatch(), THelixFitter::drift(), TMDC::driftDistance(), EvtConExc::Egam2Mhds(), EvtItgSimpsonIntegrator::evaluateIt(), EvtDecayMode::EvtDecayMode(), ModerateSizeArrayCheck::execute(), TConformalFinder::fastFinding3D(), TConformalFinder::findSegments(), TConformalFinder::findSegmentsPerfect(), TMLine::fit2(), TLine0::fit2(), TMLine::fit2p(), TLine0::fit2p(), TMLine::fit2s(), TLine0::fit2s(), TMLine::fit2sp(), TLine0::fit2sp(), EvtConExc::gamHXSection(), ExtMucKal::GapHit(), MucRecHit::GetCenterSigma(), TEPCrossPart::GetCNorm(), RandomCenterMessenger::GetCurrentValue(), ProjectMessenger::GetCurrentValue(), GoofyMessenger::GetCurrentValue(), G4SvcRunManagerMessenger::GetCurrentValue(), BesClient::GetEvent(), MucRec2DRoad::GetHitDistance(), getLine(), rb::TPhoton::GetNewPhoton(), XmlRpc::XmlRpcUtil::getNextTag(), EvtConExc::getObsXsection(), TrkBmSpotOnTrk::GetRms(), BesRndmGenSvc::handle(), eformat::helper::SourceIdentifier::human_detector(), IfdStrKey::IfdStrKey(), TFormFactor::Init(), EvtConExc::init(), EvtBtoXsll::init(), RootCnvSvc::initFiles(), QCMCFilter::initialize(), Phokhara::initialize(), EvtDecay::initialize(), ers::Issue::is_error(), isr(), ixtime_(), TLi2::Li2Cern(), TLi2::Li2My(), FTFinder::linkAxialSegments(), Links(), FTTrack::linkStereoSegments(), BesClient::LoadMyConfig(), EvtDecayMode::m(), main(), MajorLinks(), TTrackManager::makeTds(), TTrackManager::maskCurlHits(), EvtConExc::mk_VXS(), FTSuperLayer::mkSegmentList(), FTFinder::mkTrack3D(), Kpipi0pi0::MTotal(), EvtConExc::narrowRXS(), TMDCWire::neighbor(), NLinkBranches(), NMajorLinks(), NUniqueLinks(), ers::Issue::operator std::string(), operator<<(), ers::operator<<(), TSegmentCurl::operator=(), XmlRpc::XmlRpcValue::operator[](), ers::Core::parse_boolean(), ers::Core::parse_prefix_string(), ers::Core::parse_responsibility(), ers::Core::parse_severity(), TConformalFinder::pickUpSegments(), TConformalFinder::pickUpSegmentsInConformal(), PR_find(), BesRndmGenSvc::print(), EvtDalitzReso::psFactor(), EvtDecayMode::q(), EvtDalitzPlot::q(), TConformalFinder::quality2D(), TGGCrossPart::R_3_Gamma(), TMuCrossPart::R_e_Gamma(), TMuCrossPart::R_e_mu_Gamma_t(), TMuCrossPart::R_f_Gamma(), TPiCrossPart::R_Gamma(), TPiCrossPart::R_Gamma_kuraev_eidelman(), TPiCrossPart::R_Gamma_t(), EvtConExc::Rad1difXs(), Rad2difXs(), EvtConExc::Rad2difXs(), Rad2difXs2(), Rad2difXs_er(), Rad2difXs_er2(), TVacuumPol::ReadVacuumPolData(), TConformalFinder::removeBadSegments(), TConformalFinder::removeUsedSegments(), TrkHitOnTrk::resid(), TConformalFinder::resolveSegments(), TEPCrossPart::RGamma(), TEPCrossPart::RGamma_kuraev_eidelman(), RootAddress::RootAddress(), EvtConExc::Ros_xs(), FTTrack::s_zFit(), TBuilder::searchLine(), SeparateCrowded(), ers::StreamFactory::set(), RandomCenterMessenger::SetNewValue(), ProjectMessenger::SetNewValue(), GoofyMessenger::SetNewValue(), solveQuad(), TTrackManager::sortBanksByPt(), TConformalFinder::stereoSegments(), ers::StreamFactory::StreamFactory(), testString(), ers::Core::to_string(), TrackInformation(), TrackKinematics(), TrackStatus(), TSegmentCurl::TSegmentCurl(), UniqueLinks(), FTTrack::updateSZ(), uxtime_(), BesView::WCtoNDC(), Bes2DView::WCtoNDC(), XmlRpc::XmlRpcValue::write(), BesClient::X3D(), EvtXsection::Xsection_c(), XYZ2Polar(), BesTView::ZoomView(), ers::StreamFactory::~StreamFactory(), and rdbModel::Supersede::~Supersede().


Generated on Tue Nov 29 23:17:21 2016 for BOSS_7.0.2 by  doxygen 1.4.7