# BMA Server Framework: /home/barant/Development/BMA/server_core/ServerCore/ConsoleServer.h Source File

/home/barant/Development/BMA/server_core/ServerCore/ConsoleServer.h
#ifndef __ConsoleServer_h__
#define __ConsoleServer_h__
#include "includes"
#include "TCPServerSocket.h"
#include "Service.h"
#include "Command.h"
#include "Session.h"
#include "EPoll.h"
namespace core {
class TCPSocket;
class ConsoleServer : public TCPServerSocket {
public:
//
//
//
ConsoleServer(EPoll &ePoll, Service service, IPAddress address);
//
//
//
~ConsoleServer();
void sendToConnectedConsoles(std::string out);
void output(Session *session) override;
protected:
Session * getSocketAccept() override;
};
}
#endif
core::EPoll
Definition: EPoll.h:31
core
Definition: Command.cpp:4
core::Session
Definition: Session.h:22
core::IPAddress
Definition: IPAddress.h:9
core::Service
Definition: Service.h:20
core::ConsoleServer::getSocketAccept
Session * getSocketAccept() override
Definition: ConsoleServer.cpp:20
core::ConsoleServer::output
void output(Session *session) override
Output the consoles array to the console.
Definition: ConsoleServer.cpp:24
core::ConsoleServer
Definition: ConsoleServer.h:19
core::TCPServerSocket
Definition: TCPServerSocket.h:22