#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[]) |
|
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: ![]() |
|
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: ![]() |
|
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: ![]() |