taskrambler
v0.1.8
Web server and task management solution.
|
#include <stdio.h>
#include <poll.h>
#include <openssl/ssl.h>
#include "class.h"
#include "socket.h"
#include "logger.h"
#include "stream.h"
Go to the source code of this file.
Data Structures | |
struct | conns |
Functions | |
CLASS (Server) | |
void | serverRun (Server this) |
Server class. Handles acceptance and closing of connection and uses a class that has to implement the stream reader and writer interface to handle incoming reads and outgoing writes.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file server.h.
struct conns |
CLASS | ( | Server | ) |
void serverRun | ( | Server | this | ) |
until error or signal
handle accept
handle accept SSL
handle reads
handle writes
Definition at line 36 of file run.c.
References doShutdown, logger, LOGGER_INFO, loggerLog(), serverCloseConn(), serverHandleAccept(), serverPoll(), serverRead(), and serverWrite().
Referenced by main().