Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MainServer.cpp File Reference

#include <iostream>
#include <string.h>
#include "compilador.h"
#include "ejecutor.h"
#include "red/ServerSocket.h"
#include "red/SocketConnection.h"
#include "xml/ProcesadorXml.h"
#include "xml/ResultadoProcesadorXml.h"
#include "Error.h"

Include dependency graph for MainServer.cpp:

Go to the source code of this file.

Namespaces

namespace  std

Functions

bool procesarQuery (ResultadoProcesadorXml *resultado, SocketConnection *connection)
void procesarError (ResultadoProcesadorXml *resultado, SocketConnection *connection)
int main (int argc, int argv[])


Function Documentation

int main int  argc,
int  argv[]
 

Definition at line 16 of file MainServer.cpp.

References SocketConnection::close(), ResultadoProcesadorXml::crearError(), ServerSocket::getConnection(), ResultadoProcesadorXml::getError(), ResultadoProcesadorXml::getQuery(), ProcesadorXml::getQuery(), ProcesadorXml::initialize(), log_error, log_warn, NO_ERR, procesarError(), procesarQuery(), ServerSocket::start(), ServerSocket::stop(), and ProcesadorXml::terminate().

Here is the call graph for this function:

void procesarError ResultadoProcesadorXml resultado,
SocketConnection connection
 

Definition at line 158 of file MainServer.cpp.

References Respuesta::agregar(), ResultadoProcesadorXml::getError(), and SocketConnection::send().

Referenced by main().

Here is the call graph for this function:

bool procesarQuery ResultadoProcesadorXml resultado,
SocketConnection connection
 

Definition at line 101 of file MainServer.cpp.

References Respuesta::agregar(), compilador::compilar_sentencia(), ejecutor::ejecutar(), ResultadoProcesadorXml::getQuery(), ejecutor::mensaje, and SocketConnection::send().

Referenced by main().

Here is the call graph for this function:


Generated on Wed Sep 14 15:49:59 2005 for TecnoDB by  doxygen 1.4.4