|
ft_irc 1.0
|
Implements the WHO command. [詳解]
#include <WhoCommand.hpp>


公開メンバ関数 | |
| WhoCommand (Server *server) | |
| Constructs a WhoCommand object. | |
| void | execute (Client *client, const std::vector< std::string > &args) |
| Executes the WHO command. | |
基底クラス ICommand に属する継承公開メンバ関数 | |
| ICommand (Server *server) | |
| Constructs an ICommand object, associating it with a server instance. | |
| virtual | ~ICommand () |
| Virtual destructor for ICommand, ensuring proper cleanup of derived classes. | |
その他の継承メンバ | |
基底クラス ICommand に属する継承限定公開変数類 | |
| Server * | _server |
| Pointer to the IRC server instance. | |
Implements the WHO command.
This command is used to find out information about a user or a set of users on the IRC network. It can query by channel name or by a user's nickname. It returns a list of RPL_WHOREPLY messages.
WhoCommand.hpp の 20 行目に定義があります。
| WhoCommand::WhoCommand | ( | Server * | server | ) |
Constructs a WhoCommand object.
| server | A pointer to the Server instance. |
WhoCommand.cpp の 18 行目に定義があります。
|
virtual |
Executes the WHO command.
| client | A pointer to the Client that issued the command. |
| args | A vector of strings containing the command arguments. args[0] (optional) can be a channel name or a nickname mask. |
ICommandを実装しています。
WhoCommand.cpp の 20 行目に定義があります。