Anope IRC Services  Version 2.0
Public Member Functions
HTTPProxyConnect Class Reference
Inheritance diagram for HTTPProxyConnect:
Inheritance graph
Collaboration diagram for HTTPProxyConnect:
Collaboration graph

Public Member Functions

 HTTPProxyConnect (ProxyCheck &p, unsigned short po)
void OnConnect () anope_override
const Anope::string GetType () const anope_override
bool ProcessRead () anope_override
- Public Member Functions inherited from ProxyConnect
 ProxyConnect (ProxyCheck &p, unsigned short po)
 ~ProxyConnect ()
- Public Member Functions inherited from ConnectionSocket
void Connect (const Anope::string &TargetHost, int Port)
bool Process () anope_override
void ProcessError () anope_override
virtual void OnError (const Anope::string &error)
- Public Member Functions inherited from Socket
 Socket ()
 Socket (int sock, bool ipv6=false, int type=SOCK_STREAM)
virtual ~Socket ()
int GetFD () const
bool IsIPv6 () const
bool SetBlocking (bool state)
void Bind (const Anope::string &ip, int port=0)
- Public Member Functions inherited from BufferedSocket
 BufferedSocket ()
virtual ~BufferedSocket ()
bool ProcessWrite () anope_override
const Anope::string GetLine ()
void Write (const char *message,...)
void Write (const Anope::string &message)
int ReadBufferLen () const
int WriteBufferLen () const

Additional Inherited Members

- Data Fields inherited from ProxyConnect
ProxyCheck proxy
unsigned short port
time_t created
- Data Fields inherited from ConnectionSocket
sockaddrs conaddr
- Data Fields inherited from Socket
std::bitset< SF_SIZEflags
sockaddrs bindaddr
- Static Public Attributes inherited from ProxyConnect
static std::set< ProxyConnect * > proxies
- Protected Member Functions inherited from ProxyConnect
void Ban ()
- Protected Member Functions inherited from BufferedSocket
virtual void Write (const char *buffer, size_t l)
- Protected Attributes inherited from Socket
int sock
bool ipv6
- Protected Attributes inherited from BufferedSocket
Anope::string read_buffer
Anope::string write_buffer
int recv_len

Detailed Description

Definition at line 109 of file m_proxyscan.cpp.

Constructor & Destructor Documentation

◆ HTTPProxyConnect()

HTTPProxyConnect::HTTPProxyConnect ( ProxyCheck p,
unsigned short  po 

Definition at line 112 of file m_proxyscan.cpp.

Member Function Documentation

◆ GetType()

const Anope::string HTTPProxyConnect::GetType ( ) const

Implements ProxyConnect.

Definition at line 124 of file m_proxyscan.cpp.

◆ OnConnect()

void HTTPProxyConnect::OnConnect ( )

Called on a successful connect

Implements ProxyConnect.

Definition at line 116 of file m_proxyscan.cpp.

References Anope::string::c_str(), and target_port.

◆ ProcessRead()

bool HTTPProxyConnect::ProcessRead ( )

Called when there is something to be received for this socket

true on success, false to drop this socket

Reimplemented from BufferedSocket.

Definition at line 129 of file m_proxyscan.cpp.

References BufferedSocket::ProcessRead().

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