| 
    IRC SERVER
    
   The goal of this project is to make you write your own IRC server. 
   | 
 
 
 
 
Go to the documentation of this file.
   76         std::vector<Message> messages;
 
   85             std::string(
"You need operator role in order to exec " + 
_name + 
"\n")
 
   90         std::cout << 
"Command " << 
_name << 
" destructor called" << std::endl;
 
  
 
std::string getDescription() const
Definition: Command.hpp:29
 
std::string getUsage() const
Definition: Command.hpp:33
 
Client * getSender() const
Definition: Command.hpp:41
 
std::string _description
Definition: Command.hpp:12
 
std::string _buffer
Definition: Message.hpp:15
 
std::string _name
Definition: Command.hpp:11
 
Definition: Command.hpp:7
 
void message(char const *message)
Definition: client.cpp:15
 
size_t _sender_index
Definition: Command.hpp:22
 
void setSender(Client *sender)
Definition: Command.hpp:45
 
void missingOpe(void)
Definition: Command.hpp:82
 
bool hasOpe(void)
Definition: Command.hpp:57
 
bool _needs_auth
Definition: Command.hpp:15
 
std::map< size_t, std::string > getExample() const
Definition: Command.hpp:37
 
Message * _message
Definition: Command.hpp:21
 
bool _is_ope
Definition: Command.hpp:14
 
std::map< size_t, std::string > _example
Definition: Command.hpp:16
 
void setServer(Server *server)
Definition: Command.hpp:49
 
std::string getName() const
Definition: Command.hpp:25
 
virtual std::vector< Message > parser(Message *message)
Definition: Command.hpp:74
 
bool needsAuth(void)
Definition: Command.hpp:61
 
void setMessage(Message *message)
Definition: Command.hpp:53
 
Command()
Definition: Command.hpp:80
 
Definition: Message.hpp:12
 
virtual bool validate(void)
Definition: Command.hpp:69
 
Definition: Client.hpp:22
 
std::string _usage
Definition: Command.hpp:13
 
Client * _sender
Definition: Command.hpp:19
 
Definition: Server.hpp:32
 
Server * _server
Definition: Command.hpp:20
 
virtual ~Command()
Definition: Command.hpp:88