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

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

Go to the source code of this file.

Classes

class  ArrayOfStructsTest
class  CountTheEntities
class  EasyStructTest
class  EchoStructTest
class  ManyTypesTest
class  ModerateSizeArrayCheck
class  NestedStructTest
class  SimpleStructReturnTest

Functions

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

Variables

XmlRpcServer s
ArrayOfStructsTests
CountTheEntitiess
EasyStructTests
EchoStructTests
ManyTypesTests
ModerateSizeArrayChecks
NestedStructTests
SimpleStructReturnTests


Function Documentation

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

Definition at line 189 of file Validator.cpp.

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

00190 {
00191   if (argc != 2) {
00192     std::cerr << "Usage: Validator port\n";
00193     return -1;
00194   }
00195   int port = atoi(argv[1]);
00196 
00197   XmlRpc::setVerbosity(5);
00198 
00199   // Create the server socket on the specified port
00200   s.bindAndListen(port);
00201 
00202   // Wait for requests indefinitely
00203   s.work(-1.0);
00204 
00205   return 0;
00206 }


Variable Documentation

SimpleStructReturnTest& s

NestedStructTest& s

ModerateSizeArrayCheck& s

ManyTypesTest& s

EchoStructTest& s

EasyStructTest& s

CountTheEntities& s

ArrayOfStructsTest& s

XmlRpcServer s

Definition at line 9 of file Validator.cpp.


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