The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

CommandStartTLS Class Reference

Inheritance diagram for CommandStartTLS:

Inheritance graph
[legend]
Collaboration diagram for CommandStartTLS:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommandStartTLS (InspIRCd *Instance, Module *mod)
CmdResult Handle (const std::vector< std::string > &parameters, User *user)
 Handle the command from a user.

Private Attributes

ModuleCaller

Detailed Description

Definition at line 62 of file m_ssl_gnutls.cpp.


Constructor & Destructor Documentation

CommandStartTLS::CommandStartTLS InspIRCd Instance,
Module mod
[inline]
 

Definition at line 67 of file m_ssl_gnutls.cpp.

References Command::source.


Member Function Documentation

CmdResult CommandStartTLS::Handle const std::vector< std::string > &  parameters,
User user
[inline, virtual]
 

Handle the command from a user.

Parameters:
parameters The parameters for the command.
user The user who issued the command.
Returns:
Return CMD_SUCCESS on success, or CMD_FAILURE on failure. If the command succeeds but should remain local to this server, return CMD_LOCALONLY.

Implements Command.

Definition at line 72 of file m_ssl_gnutls.cpp.

References EventHandler::AddIOHook(), Caller, CMD_FAILURE, EventHandler::GetFd(), EventHandler::GetIOHook(), User::GetIPString(), User::GetPort(), User::nick, Module::OnRawSocketAccept(), UserManager::QuitUser(), REG_ALL, User::registered, Command::ServerInstance, InspIRCd::Users, and User::WriteNumeric().


Member Data Documentation

Module* CommandStartTLS::Caller [private]
 

Definition at line 64 of file m_ssl_gnutls.cpp.

Referenced by Handle().


The documentation for this class was generated from the following file: