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
[legend]
Collaboration diagram for ProxyConnect:
Collaboration graph
[legend]

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
 
SocketIOio
 

Static Public Attributes

static std::set< ProxyConnect * > proxies
 

Protected Member Functions

void Ban ()
 

Static Private Attributes

static ServiceReference
< XLineManager
akills
 

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 ( ProxyCheck p,
unsigned short  po 
)
inline

Definition at line 65 of file m_proxyscan.cpp.

ProxyConnect::~ProxyConnect ( )
inline

Definition at line 71 of file m_proxyscan.cpp.

Member Function Documentation

void ProxyConnect::Ban ( )
inlineprotected
virtual const Anope::string ProxyConnect::GetType ( ) const
pure virtual

Implemented in SOCKS5ProxyConnect, and HTTPProxyConnect.

Referenced by Ban().

virtual void ProxyConnect::OnConnect ( )
pure virtual

Called on a successful connect

Reimplemented from ConnectionSocket.

Implemented in SOCKS5ProxyConnect, and HTTPProxyConnect.

Field Documentation

ServiceReference< XLineManager > ProxyConnect::akills
staticprivate

Definition at line 56 of file m_proxyscan.cpp.

time_t ProxyConnect::created

Definition at line 63 of file m_proxyscan.cpp.

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

unsigned short ProxyConnect::port

Definition at line 62 of file m_proxyscan.cpp.

std::set< ProxyConnect * > ProxyConnect::proxies
static
ProxyCheck ProxyConnect::proxy

Definition at line 61 of file m_proxyscan.cpp.


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