Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indrisoapd.cpp File Reference

#include "soapH.h"
#include "soapindrisoapObject.h"
#include "indrisoap.nsmap"
#include <set>
#include "indri/IndexEnvironment.hpp"
#include "indri/QueryEnvironment.hpp"
#include <signal.h>

Functions

std::string _buildCachedURL (int docno)
int indrisoap__doRunQueryRequest (struct soap *soap, struct indrisoap__QueryRequest request, struct indrisoap__doRunQueryResponse &response)
int indrisoap__doAddDocument (struct soap *soap, xsd__string doc, xsd__string fileClass, struct MetadataPairArray meta, struct indrisoap__doAddDocumentResponse &response)
int indrisoap__doDeleteDocument (struct soap *soap, xsd__int doc, struct indrisoap__doDeleteDocumentResponse &response)
void _buildDocumentVector (struct soap *soap, indri::api::DocumentVector *source, struct indrisoap__DocumentVector *target)
void _buildDocumentVectorsResponse (struct soap *soap, std::vector< indri::api::DocumentVector * > _results, struct DocumentVectorArray &response)
int indrisoap__doDocumentVectors (struct soap *soap, struct intArray ids, struct DocumentVectorArray &response)
int soap_encode_string (const char *s, char *t, size_t len)
const char * soap_decode_string (char *buf, size_t len, const char *val)
char * query (struct soap *soap)
char * query_key (struct soap *soap, char **s)
char * query_val (struct soap *soap, char **s)
int http_get (struct soap *soap)
void * process_request (struct soap *soap)
void handler (int signo)
int main (int argc, char **argv)

Variables

indri::api::QueryEnvironment queryEnv
indri::api::IndexEnvironmentindexEnv = NULL
bool readWrite
char hostname [255]
int port
volatile sig_atomic_t gotsig = 0

Function Documentation

std::string _buildCachedURL int  docno  )  [static]
 

void _buildDocumentVector struct soap *  soap,
indri::api::DocumentVector source,
struct indrisoap__DocumentVector target
[static]
 

void _buildDocumentVectorsResponse struct soap *  soap,
std::vector< indri::api::DocumentVector * >  _results,
struct DocumentVectorArray response
[static]
 

void handler int  signo  ) 
 

int http_get struct soap *  soap  ) 
 

int indrisoap__doAddDocument struct soap *  soap,
xsd__string  doc,
xsd__string  fileClass,
struct MetadataPairArray  meta,
struct indrisoap__doAddDocumentResponse response
 

int indrisoap__doDeleteDocument struct soap *  soap,
xsd__int  doc,
struct indrisoap__doDeleteDocumentResponse response
 

int indrisoap__doDocumentVectors struct soap *  soap,
struct intArray  ids,
struct DocumentVectorArray response
 

int indrisoap__doRunQueryRequest struct soap *  soap,
struct indrisoap__QueryRequest  request,
struct indrisoap__doRunQueryResponse response
 

int main int  argc,
char **  argv
 

void* process_request struct soap *  soap  )  [static]
 

char* query struct soap *  soap  )  [static]
 

char* query_key struct soap *  soap,
char **  s
[static]
 

char* query_val struct soap *  soap,
char **  s
[static]
 

const char* soap_decode_string char *  buf,
size_t  len,
const char *  val
[static]
 

int soap_encode_string const char *  s,
char *  t,
size_t  len
[static]
 


Variable Documentation

volatile sig_atomic_t gotsig = 0
 

char hostname[255]
 

indri::api::IndexEnvironment* indexEnv = NULL
 

int port
 

indri::api::QueryEnvironment queryEnv
 

bool readWrite
 


Generated on Tue Dec 1 11:21:23 2009 for Lemur by doxygen 1.3.4