# BMA Server Framework: /home/bradarant/barant/ServerCore/Command.h Source File

/home/bradarant/barant/ServerCore/Command.h
#ifndef __Command_h__
#define __Command_h__
#include "includes"
#include "Object.h"
namespace core {
class Session;
class Command : public Object {
public:
virtual bool check(std::string request);
virtual int processCommand(std::string request, Session *session, std::stringstream &data);
virtual void output(Session *session);
void setName(std::string name);
std::string getName();
private:
std::string name;
};
}
#endif
core::Command::processCommand
virtual int processCommand(std::string request, Session *session, std::stringstream &data)
Definition: Command.cpp:6
core
Definition: Command.cpp:4
core::Session
Definition: Session.h:22
core::Command::setName
void setName(std::string name)
Definition: Command.cpp:21
core::Command::check
virtual bool check(std::string request)
Definition: Command.cpp:10
core::Object
Definition: Object.h:8
core::Command
Definition: Command.h:18
core::Command::output
virtual void output(Session *session)
Definition: Command.cpp:8