dtntunnel::TCPTunnel::TCPTunnel::Listener Class Reference

Helper class to accept incoming TCP connections. More...

#include <TCPTunnel.h>

List of all members.

Public Member Functions

 Listener (TCPTunnel *t, in_addr_t listen_addr, u_int16_t listen_port, in_addr_t remote_addr, u_int16_t remote_port)
void accepted (int fd, in_addr_t addr, u_int16_t port)

Protected Attributes

TCPTunneltcptun_
in_addr_t listen_addr_
u_int16_t listen_port_
in_addr_t remote_addr_
u_int16_t remote_port_


Detailed Description

Helper class to accept incoming TCP connections.

Definition at line 52 of file TCPTunnel.h.


Constructor & Destructor Documentation

dtntunnel::TCPTunnel::TCPTunnel::Listener::Listener ( TCPTunnel t,
in_addr_t  listen_addr,
u_int16_t  listen_port,
in_addr_t  remote_addr,
u_int16_t  remote_port 
)

Definition at line 195 of file TCPTunnel.cc.


Member Function Documentation

void dtntunnel::TCPTunnel::TCPTunnel::Listener::accepted ( int  fd,
in_addr_t  addr,
u_int16_t  port 
)


Member Data Documentation

in_addr_t dtntunnel::TCPTunnel::TCPTunnel::Listener::listen_addr_ [protected]

Proxy parameters

Definition at line 65 of file TCPTunnel.h.

u_int16_t dtntunnel::TCPTunnel::TCPTunnel::Listener::listen_port_ [protected]

Proxy parameters

Definition at line 66 of file TCPTunnel.h.

in_addr_t dtntunnel::TCPTunnel::TCPTunnel::Listener::remote_addr_ [protected]

Proxy parameters

Definition at line 67 of file TCPTunnel.h.

Referenced by dtntunnel::TCPTunnel::TCPTunnel::Listener::accepted().

u_int16_t dtntunnel::TCPTunnel::TCPTunnel::Listener::remote_port_ [protected]

Proxy parameters

Definition at line 68 of file TCPTunnel.h.

Referenced by dtntunnel::TCPTunnel::TCPTunnel::Listener::accepted().

TCPTunnel* dtntunnel::TCPTunnel::TCPTunnel::Listener::tcptun_ [protected]

Definition at line 61 of file TCPTunnel.h.

Referenced by dtntunnel::TCPTunnel::TCPTunnel::Listener::accepted().


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

Generated on Fri Jan 30 09:43:15 2009 for DTN Reference Implementation by  doxygen 1.5.8