#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 |
ArrayOfStructsTest & | s |
CountTheEntities & | s |
EasyStructTest & | s |
EchoStructTest & | s |
ManyTypesTest & | s |
ModerateSizeArrayCheck & | s |
NestedStructTest & | s |
SimpleStructReturnTest & | s |
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 }
Definition at line 9 of file Validator.cpp.