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

/home/barant/Development/BMA/server_core/ServerCore/Service.h
#ifndef __Service_h__
#define __Service_h__
#include "Object.h"
#include "CommandList.h"
namespace core {
class TCPServerSocket;
class Service : public Object {
public:
Service();
virtual void init(TCPServerSocket *server);
void removeFromSessionList(Session *session);
virtual void sessionErrorHandler(std::string errorString, Session *session);
std::vector<Session *> sessions;
TCPServerSocket *server;
CommandList commands;
};
}
#endif
core::Service::Service
Service()
Definition: Service.cpp:7
core::Service::commands
CommandList commands
Definition: Service.h:56
core
Definition: Command.cpp:4
core::Session
Definition: Session.h:22
core::Service::sessions
std::vector< Session * > sessions
Definition: Service.h:42
core::Service::server
TCPServerSocket * server
Definition: Service.h:49
core::Service
Definition: Service.h:20
core::Object
Definition: Object.h:8
core::CommandList
Definition: CommandList.h:17
core::TCPServerSocket
Definition: TCPServerSocket.h:22