IRC_SERVER
By @hyunjunk (hyunjun2372@gmail.com)
Loading...
Searching...
No Matches
Reply message making functions

MakeReplyMsg_<reply_code> functions. More...

Functions

std::string IRC::MakeReplyMsg_RPL_WELCOME (PARM_X, const std::string nickname)
 Make an IRC reply message.
 
std::string IRC::MakeReplyMsg_ERR_NOSUCHNICK (PARM_X, const std::string nickname)
 
std::string IRC::MakeReplyMsg_ERR_NOSUCHSERVER (PARM_X, const std::string server_name)
 
std::string IRC::MakeReplyMsg_ERR_NOSUCHCHANNEL (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_CANNOTSENDTOCHAN (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_TOOMANYCHANNELS (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_WASNOSUCHNICK (PARM_X, const std::string nickname)
 
std::string IRC::MakeReplyMsg_ERR_TOOMANYTARGETS (PARM_X, const std::string target)
 
std::string IRC::MakeReplyMsg_ERR_UNKNOWNCOMMAND (PARM_X, const std::string command)
 
std::string IRC::MakeReplyMsg_ERR_NONICKNAMEGIVEN (PARM_X)
 
std::string IRC::MakeReplyMsg_ERR_NICKNAMEINUSE (PARM_X, const std::string nickname)
 
std::string IRC::MakeReplyMsg_ERR_ERRONEUSNICKNAME (PARM_X, const std::string nickname)
 
std::string IRC::MakeReplyMsg_ERR_NOTREGISTED (PARM_X)
 
std::string IRC::MakeReplyMsg_ERR_NEEDMOREPARAMS (PARM_X, const std::string command)
 
std::string IRC::MakeReplyMsg_ERR_ALREADYREGISTRED (PARM_X)
 
std::string IRC::MakeReplyMsg_ERR_BANNEDFROMCHAN (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_INVITEONLYCHAN (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_BADCHANNELKEY (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_CHANNELISFULL (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_BADCHANMASK (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_UNKNOWNMODE (PARM_X, const char mode)
 
std::string IRC::MakeReplyMsg_ERR_CHANOPRIVSNEEDED (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_NORECIPIENT (PARM_X, const std::string command)
 
std::string IRC::MakeReplyMsg_ERR_NOTEXTTOSEND (PARM_X)
 
std::string IRC::MakeReplyMsg_ERR_NOTONCHANNEL (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_USERNOTINCHANNEL (PARM_X, const std::string nickname, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_ERR_USERONCHANNEL (PARM_X, const std::string nickname, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_RPL_NOTOPIC (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_RPL_TOPIC (PARM_X, const std::string channel_name, const std::string topic)
 
std::string IRC::MakeReplyMsg_RPL_LISTSTART (PARM_X)
 
std::string IRC::MakeReplyMsg_RPL_LIST (PARM_X, const std::string channel_name, const std::string visible_user_count, const std::string topic)
 
std::string IRC::MakeReplyMsg_RPL_LISTEND (PARM_X)
 
std::string IRC::MakeReplyMsg_RPL_NAMREPLY (PARM_X, const std::string channel_name, const std::string nicknames)
 
std::string IRC::MakeReplyMsg_RPL_ENDOFNAMES (PARM_X, const std::string channel_name)
 
std::string IRC::MakeReplyMsg_RPL_CHANNELMODEIS (PARM_X, const std::string channel_name, const std::string mode)
 
std::string IRC::MakeReplyMsg_RPL_INVITING (PARM_X, const std::string nickname, const std::string channel_name)
 

Detailed Description

MakeReplyMsg_<reply_code> functions.

Function Documentation

◆ MakeReplyMsg_RPL_WELCOME()

std::string IRC::MakeReplyMsg_RPL_WELCOME ( PARM_X ,
const std::string nickname )

Make an IRC reply message.

Parameters
serverName[in] The server name.
...[in] The arguments of the reply message.
Returns
The reply message that is not contain CR-LF.

◆ MakeReplyMsg_ERR_NOSUCHNICK()

std::string IRC::MakeReplyMsg_ERR_NOSUCHNICK ( PARM_X ,
const std::string nickname )

◆ MakeReplyMsg_ERR_NOSUCHSERVER()

std::string IRC::MakeReplyMsg_ERR_NOSUCHSERVER ( PARM_X ,
const std::string server_name )

◆ MakeReplyMsg_ERR_NOSUCHCHANNEL()

std::string IRC::MakeReplyMsg_ERR_NOSUCHCHANNEL ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_ERR_CANNOTSENDTOCHAN()

std::string IRC::MakeReplyMsg_ERR_CANNOTSENDTOCHAN ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_ERR_TOOMANYCHANNELS()

std::string IRC::MakeReplyMsg_ERR_TOOMANYCHANNELS ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_ERR_WASNOSUCHNICK()

std::string IRC::MakeReplyMsg_ERR_WASNOSUCHNICK ( PARM_X ,
const std::string nickname )

◆ MakeReplyMsg_ERR_TOOMANYTARGETS()

std::string IRC::MakeReplyMsg_ERR_TOOMANYTARGETS ( PARM_X ,
const std::string target )

◆ MakeReplyMsg_ERR_UNKNOWNCOMMAND()

std::string IRC::MakeReplyMsg_ERR_UNKNOWNCOMMAND ( PARM_X ,
const std::string command )

◆ MakeReplyMsg_ERR_NONICKNAMEGIVEN()

std::string IRC::MakeReplyMsg_ERR_NONICKNAMEGIVEN ( PARM_X )

◆ MakeReplyMsg_ERR_NICKNAMEINUSE()

std::string IRC::MakeReplyMsg_ERR_NICKNAMEINUSE ( PARM_X ,
const std::string nickname )

◆ MakeReplyMsg_ERR_ERRONEUSNICKNAME()

std::string IRC::MakeReplyMsg_ERR_ERRONEUSNICKNAME ( PARM_X ,
const std::string nickname )

◆ MakeReplyMsg_ERR_NOTREGISTED()

std::string IRC::MakeReplyMsg_ERR_NOTREGISTED ( PARM_X )

◆ MakeReplyMsg_ERR_NEEDMOREPARAMS()

std::string IRC::MakeReplyMsg_ERR_NEEDMOREPARAMS ( PARM_X ,
const std::string command )

◆ MakeReplyMsg_ERR_ALREADYREGISTRED()

std::string IRC::MakeReplyMsg_ERR_ALREADYREGISTRED ( PARM_X )

◆ MakeReplyMsg_ERR_BANNEDFROMCHAN()

std::string IRC::MakeReplyMsg_ERR_BANNEDFROMCHAN ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_ERR_INVITEONLYCHAN()

std::string IRC::MakeReplyMsg_ERR_INVITEONLYCHAN ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_ERR_BADCHANNELKEY()

std::string IRC::MakeReplyMsg_ERR_BADCHANNELKEY ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_ERR_CHANNELISFULL()

std::string IRC::MakeReplyMsg_ERR_CHANNELISFULL ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_ERR_BADCHANMASK()

std::string IRC::MakeReplyMsg_ERR_BADCHANMASK ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_ERR_UNKNOWNMODE()

std::string IRC::MakeReplyMsg_ERR_UNKNOWNMODE ( PARM_X ,
const char mode )

◆ MakeReplyMsg_ERR_CHANOPRIVSNEEDED()

std::string IRC::MakeReplyMsg_ERR_CHANOPRIVSNEEDED ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_ERR_NORECIPIENT()

std::string IRC::MakeReplyMsg_ERR_NORECIPIENT ( PARM_X ,
const std::string command )

◆ MakeReplyMsg_ERR_NOTEXTTOSEND()

std::string IRC::MakeReplyMsg_ERR_NOTEXTTOSEND ( PARM_X )

◆ MakeReplyMsg_ERR_NOTONCHANNEL()

std::string IRC::MakeReplyMsg_ERR_NOTONCHANNEL ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_ERR_USERNOTINCHANNEL()

std::string IRC::MakeReplyMsg_ERR_USERNOTINCHANNEL ( PARM_X ,
const std::string nickname,
const std::string channel_name )

◆ MakeReplyMsg_ERR_USERONCHANNEL()

std::string IRC::MakeReplyMsg_ERR_USERONCHANNEL ( PARM_X ,
const std::string nickname,
const std::string channel_name )

◆ MakeReplyMsg_RPL_NOTOPIC()

std::string IRC::MakeReplyMsg_RPL_NOTOPIC ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_RPL_TOPIC()

std::string IRC::MakeReplyMsg_RPL_TOPIC ( PARM_X ,
const std::string channel_name,
const std::string topic )

◆ MakeReplyMsg_RPL_LISTSTART()

std::string IRC::MakeReplyMsg_RPL_LISTSTART ( PARM_X )

◆ MakeReplyMsg_RPL_LIST()

std::string IRC::MakeReplyMsg_RPL_LIST ( PARM_X ,
const std::string channel_name,
const std::string visible_user_count,
const std::string topic )

◆ MakeReplyMsg_RPL_LISTEND()

std::string IRC::MakeReplyMsg_RPL_LISTEND ( PARM_X )

◆ MakeReplyMsg_RPL_NAMREPLY()

std::string IRC::MakeReplyMsg_RPL_NAMREPLY ( PARM_X ,
const std::string channel_name,
const std::string nicknames )

◆ MakeReplyMsg_RPL_ENDOFNAMES()

std::string IRC::MakeReplyMsg_RPL_ENDOFNAMES ( PARM_X ,
const std::string channel_name )

◆ MakeReplyMsg_RPL_CHANNELMODEIS()

std::string IRC::MakeReplyMsg_RPL_CHANNELMODEIS ( PARM_X ,
const std::string channel_name,
const std::string mode )

◆ MakeReplyMsg_RPL_INVITING()

std::string IRC::MakeReplyMsg_RPL_INVITING ( PARM_X ,
const std::string nickname,
const std::string channel_name )