Anope IRC Services  Version 2.0
Public Member Functions | Data Fields | Static Public Attributes | Protected Member Functions | Static Private Attributes
ProxyConnect Class Referenceabstract
Inheritance diagram for ProxyConnect:
Inheritance graph
Collaboration diagram for ProxyConnect:
Collaboration graph

Public Member Functions

 ProxyConnect (ProxyCheck &p, unsigned short po)
 ~ProxyConnect ()
virtual void OnConnect () anope_override=0
virtual const Anope::string GetType () const =0
- 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)
virtual bool ProcessRead ()
virtual bool ProcessWrite ()

Data Fields

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

static std::set< ProxyConnect * > proxies

Protected Member Functions

void Ban ()

Static Private Attributes

static ServiceReference< XLineManagerakills

Additional Inherited Members

- Protected Attributes inherited from Socket
int sock
bool ipv6

Detailed Description

Definition at line 54 of file m_proxyscan.cpp.

Constructor & Destructor Documentation

◆ ProxyConnect()

ProxyConnect::ProxyConnect ( ProxyCheck p,
unsigned short  po 

Definition at line 65 of file m_proxyscan.cpp.

◆ ~ProxyConnect()

ProxyConnect::~ProxyConnect ( )

Definition at line 71 of file m_proxyscan.cpp.

References anope_override.

Member Function Documentation

◆ Ban()

void ProxyConnect::Ban ( )

◆ GetType()

virtual const Anope::string ProxyConnect::GetType ( ) const
pure virtual

Implemented in SOCKS5ProxyConnect, and HTTPProxyConnect.

◆ OnConnect()

virtual void ProxyConnect::OnConnect ( )
pure virtual

Called on a successful connect

Reimplemented from ConnectionSocket.

Implemented in SOCKS5ProxyConnect, and HTTPProxyConnect.

Field Documentation

◆ akills

ServiceReference< XLineManager > ProxyConnect::akills

Definition at line 56 of file m_proxyscan.cpp.

Referenced by Ban().

◆ created

time_t ProxyConnect::created

Definition at line 63 of file m_proxyscan.cpp.

Referenced by ModuleProxyScan::ConnectionTimeout::Tick().

◆ port

unsigned short ProxyConnect::port

Definition at line 62 of file m_proxyscan.cpp.

◆ proxies

std::set< ProxyConnect * > ProxyConnect::proxies

◆ proxy

ProxyCheck ProxyConnect::proxy

Definition at line 61 of file m_proxyscan.cpp.

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