| 
    IRC SERVER
    
   The goal of this project is to make you write your own IRC server. 
   | 
 
 
 
 
Go to the documentation of this file.
    5 #include "../Command.hpp" 
   13         _description = 
"info sobre el usuario usando la mascara";
 
   15         _example[0] = 
"whois <máscara de nick>[,<máscara de nick>[,...]]";
 
   41         std::vector<std::string>      _cl_params = 
split(p[0], 
",");
 
   43         if (_cl_params.size() < 1)
 
   48         for (
size_t i = 0; i < _cl_params.size(); i++)
 
   62         std::vector<std::string>      _cl_params = 
split(p[0], 
",");
 
   64         for (
size_t i = 0; i < _cl_params.size(); i++)
 
   71             std::map<std::string, Channel *>::iterator it = related_channels.begin();
 
   73             for (; it != related_channels.end(); it++)
 
   76                                                   it->second->getClientRoleString(client), it->first));
 
  
 
Whois()
Definition: Whois.hpp:10
 
std::string _description
Definition: Command.hpp:12
 
std::string _username
Definition: Client.hpp:27
 
std::string _name
Definition: Command.hpp:11
 
#define RPL_WHOISUSER(servername, nick, user, host, realname)
Definition: Replies.hpp:49
 
Definition: Command.hpp:7
 
void message(char const *message)
Definition: client.cpp:15
 
std::string _host
Definition: Client.hpp:29
 
bool validate(void)
Definition: Whois.hpp:38
 
#define ERR_NONICKNAMEGIVEN(servername)
Definition: Replies.hpp:118
 
#define ERR_NOSUCHNICK(servername, nick)
Definition: Replies.hpp:104
 
Message * _message
Definition: Command.hpp:21
 
std::vector< std::string > split(const std::string &str, const std::string &delimiters)
Definition: functions.cpp:37
 
std::map< size_t, std::string > _example
Definition: Command.hpp:16
 
std::string _realname
Definition: Client.hpp:28
 
Client * getClient(std::string const &name)
Definition: Server.hpp:140
 
std::map< size_t, std::string > getParams(void) const
Definition: message.cpp:79
 
Definition: Client.hpp:22
 
std::string _usage
Definition: Command.hpp:13
 
std::map< std::string, Channel * > getRelatedChannels(Client *client)
Definition: Server.hpp:114
 
Client * _sender
Definition: Command.hpp:19
 
std::string _nick
Definition: Client.hpp:26
 
#define RPL_WHOISCHANNELS(servername, nick, mode, channel)
Definition: Replies.hpp:56
 
std::string _servername
Definition: Client.hpp:30
 
Server * _server
Definition: Command.hpp:20
 
void execute()
Definition: Whois.hpp:59