xmppd::proxy65::socks5stub Class Reference

handles an accepted xep-0065-socks5 connection More...

#include <proxy65.h>

Public Member Functions

 socks5stub (mio m)
 ~socks5stub ()
sigc::signal< void, socks5stub * > & event_protocol_done ()
sigc::signal< void, socks5stub * > & event_disconnected ()
std::string get_connection_id ()

Friends

class connected_sockets

Detailed Description

handles an accepted xep-0065-socks5 connection


Constructor & Destructor Documentation

xmppd::proxy65::socks5stub::socks5stub ( mio  m  ) 

construct a new instance for a mio connection

Parameters:
m the connection the instance should be created for

References mio_st::fd, log_debug2, LOGT_EXECFLOW, mio_reset(), and ZONE.

xmppd::proxy65::socks5stub::~socks5stub (  ) 

destruct an instance


Member Function Documentation

sigc::signal<void, socks5stub*>& xmppd::proxy65::socks5stub::event_disconnected (  )  [inline]

get reference to the disconnected signal

Returns:
reference to the signal
sigc::signal<void, socks5stub*>& xmppd::proxy65::socks5stub::event_protocol_done (  )  [inline]

get reference to the protocol_done signal

Returns:
reference to the signal
std::string xmppd::proxy65::socks5stub::get_connection_id (  )  [inline]

get the id of this connection

The ID is what the client sent as destination address and that is typically a sha1 hash in lowercase (we converted) hex


Friends And Related Function Documentation

friend class connected_sockets [friend]

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

Generated on Sat Mar 13 06:00:17 2010 for jabberd14 by  doxygen 1.6.1