Initial repository 1.0.0

This commit is contained in:
Brad Arant committed 2019-02-07 13:28:21 -08:00
commit d8b1275884
1861 files changed
+66342

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
#ifndef __ConsoleServer_h__
#define __ConsoleServer_h__
#include "includes"
#include "TCPServerSocket.h"
#include "Command.h"
#include "Session.h"
#include "EPoll.h"
namespace core {
class TCPSocket;
///
///
///
class ConsoleServer : public TCPServerSocket {
public:
//
//
//
ConsoleServer(EPoll &ePoll, std::string url, short int port);
//
//
//
~ConsoleServer();
void sendToConnectedConsoles(std::string out);
void output(Session *session) override; ///<Output the consoles array to the console.
protected:
Session * getSocketAccept() override;
};
}
#endif