jabberd14  1.6.2
Public Member Functions | Friends
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

construct a new instance for a mio connection

Parameters:
mthe connection the instance should be created for

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

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

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: