ConsoleServer.h
Go to the documentation of this file.
#ifndef __ConsoleServer_h__
#define __ConsoleServer_h__
#include "includes"
#include "TLSServer.h"
#include "Command.h"
#include "EPoll.h"
#include "LogListener.h"
namespace core {
class TCPSocket;
class TCPSession;
class ConsoleServer : public TCPServer, public coreutils::LogListener {
public:
//
//
//
ConsoleServer(EPoll &ePoll, IPAddress address);
//
//
//
void logSend(std::string out) override;
TCPSession * getSocketAccept(EPoll &ePoll) override;
};
}
#endif
core::Socket::ePoll
EPoll & ePoll
Definition: Socket.h:117
core::EPoll
Definition: EPoll.h:31
core::TCPServer
Definition: TCPServer.h:24
core::ConsoleServer::ConsoleServer
ConsoleServer(EPoll &ePoll, IPAddress address)
Definition: ConsoleServer.cpp:8
TLSServer.h
core::TCPSession
Definition: TCPSession.h:25
core::IPAddress
Definition: IPAddress.h:9
core
Definition: Command.cpp:5
core::ConsoleServer
Definition: ConsoleServer.h:19
EPoll.h
core::ConsoleServer::logSend
void logSend(std::string out) override
Definition: ConsoleServer.cpp:12
core::ConsoleServer::getSocketAccept
TCPSession * getSocketAccept(EPoll &ePoll) override
Definition: ConsoleServer.cpp:17
Command.h