ft_irc 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
PongCommand.cpp
[詳解]
1
8#include "PongCommand.hpp"
9
11
13
15 (void)args; // Mark args as unused
16 // client->updateActivityTime(); // handleClientDataで更新されるため冗長
17 client->clearPingSentTime(); // PONG応答時にPING状態をリセット
18}
Handles the PONG command.
Represents an IRC client connected to the server.
Definition Client.hpp:25
void clearPingSentTime()
Clears the last PING sent time, indicating no PING is currently pending a PONG. This should be called...
Definition Client.cpp:91
Abstract base class (interface) for all IRC commands.
Definition ICommand.hpp:26
PongCommand(Server *server)
Constructs a PongCommand object.
virtual void execute(Client *client, const std::vector< std::string > &args)
Executes the PONG command.
virtual ~PongCommand()
Destroys the PongCommand object.
Implements the core IRC server functionality as a Singleton.
Definition Server.hpp:49