ft_irc 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
PingCommand.hpp
[詳解]
1
7#ifndef PINGCOMMAND_HPP
8#define PINGCOMMAND_HPP
9
10#include "Client.hpp"
11#include "ICommand.hpp"
12#include "Replies.hpp"
13#include "Server.hpp"
14
23class PingCommand : public ICommand {
24 public:
29 PingCommand(Server *server);
30
34 virtual ~PingCommand();
35
42 virtual void execute(Client *client, const std::vector<std::string> &args);
43};
44
45#endif
Manages client connection and state.
Interface for all IRC commands.
Defines IRC numeric replies and error messages.
Core IRC server implementation.
Represents an IRC client connected to the server.
Definition Client.hpp:25
Abstract base class (interface) for all IRC commands.
Definition ICommand.hpp:26
Implements the PING command.
virtual void execute(Client *client, const std::vector< std::string > &args)
Executes the PING command.
virtual ~PingCommand()
Destroys the PingCommand object.
Implements the core IRC server functionality as a Singleton.
Definition Server.hpp:49