Anope IRC Services  Version 2.0
Public Member Functions | Private Attributes
WebpanelRequest Class Reference
Inheritance diagram for WebpanelRequest:
Inheritance graph
[legend]
Collaboration diagram for WebpanelRequest:
Collaboration graph
[legend]

Public Member Functions

 WebpanelRequest (Module *o, HTTPReply &r, HTTPMessage &m, HTTPProvider *s, const Anope::string &p_n, HTTPClient *c, TemplateFileServer::Replacements &re, const Anope::string &user, const Anope::string &pass)
 
void OnSuccess () anope_override
 
void OnFail () anope_override
 
- Public Member Functions inherited from IdentifyRequest
const Anope::stringGetAccount () const
 
const Anope::stringGetPassword () const
 
void Hold (Module *m)
 
void Release (Module *m)
 
void Success (Module *m)
 
void Dispatch ()
 

Private Attributes

HTTPReply reply
 
HTTPMessage message
 
Reference< HTTPProviderserver
 
Anope::string page_name
 
Reference< HTTPClientclient
 
TemplateFileServer::Replacements replacements
 

Additional Inherited Members

- Static Public Member Functions inherited from IdentifyRequest
static void ModuleUnload (Module *m)
 
- Protected Member Functions inherited from IdentifyRequest
 IdentifyRequest (Module *o, const Anope::string &acc, const Anope::string &pass)
 
virtual ~IdentifyRequest ()
 

Detailed Description

Definition at line 10 of file index.cpp.

Constructor & Destructor Documentation

WebpanelRequest::WebpanelRequest ( Module o,
HTTPReply r,
HTTPMessage m,
HTTPProvider s,
const Anope::string p_n,
HTTPClient c,
TemplateFileServer::Replacements re,
const Anope::string user,
const Anope::string pass 
)
inline

Definition at line 20 of file index.cpp.

Member Function Documentation

void WebpanelRequest::OnFail ( )
inlinevirtual

Implements IdentifyRequest.

Definition at line 66 of file index.cpp.

References HTTPClient::SendReply(), and TemplateFileServer::Serve().

Referenced by OnSuccess().

void WebpanelRequest::OnSuccess ( )
inlinevirtual

Field Documentation

Reference<HTTPClient> WebpanelRequest::client
private

Definition at line 16 of file index.cpp.

HTTPMessage WebpanelRequest::message
private

Definition at line 13 of file index.cpp.

Anope::string WebpanelRequest::page_name
private

Definition at line 15 of file index.cpp.

TemplateFileServer::Replacements WebpanelRequest::replacements
private

Definition at line 17 of file index.cpp.

HTTPReply WebpanelRequest::reply
private

Definition at line 12 of file index.cpp.

Reference<HTTPProvider> WebpanelRequest::server
private

Definition at line 14 of file index.cpp.


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