/home/bradarant/barant/ServerCore/Service.h
#ifndef __Service_h__
#define __Service_h__
#include "Object.h"
#include "CommandList.h"
namespace core {
// class TCPServerSocket;
class Service : public Command {
public:
Service();
void removeFromSessionList(Session *session);
virtual void sessionErrorHandler(std::string errorString, Session *session);
virtual Session * getSocketAccept(EPoll &epoll);
void output(Session *session) override;
std::vector<Session *> sessions;
CommandList commands;
};
}
#endif
core::Service::Service
Service()
Definition: Service.cpp:7
core::Service::output
void output(Session *session) override
Output the consoles array to the console.
Definition: Service.cpp:24
core::EPoll
Definition: EPoll.h:31
core::Service::commands
CommandList commands
Definition: Service.h:59
core
Definition: Command.cpp:4
core::Session
Definition: Session.h:22
core::Service::getSocketAccept
virtual Session * getSocketAccept(EPoll &epoll)
Definition: Service.cpp:20
core::Service::sessions
std::vector< Session * > sessions
Definition: Service.h:52
core::Service
Definition: Service.h:20
core::Command
Definition: Command.h:18
core::CommandList
Definition: CommandList.h:18