dtntunnel::UDPTunnel::UDPTunnel::Listener Class Reference

Helper class to handle a proxied UDP port. More...

#include <UDPTunnel.h>

List of all members.

Public Member Functions

 Listener (in_addr_t listen_addr, u_int16_t listen_port, in_addr_t remote_addr, u_int16_t remote_port)
 Constructor.

Protected Member Functions

void run ()
 Main listen loop.

Protected Attributes

oasys::UDPClient sock_
 Receiver socket.
char recv_buf_ [65536]
 Static receiving buffer.
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 handle a proxied UDP port.

Definition at line 51 of file UDPTunnel.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 71 of file UDPTunnel.cc.


Member Function Documentation

void dtntunnel::UDPTunnel::UDPTunnel::Listener::run (  )  [protected]


Member Data Documentation

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

Proxy parameters

Definition at line 69 of file UDPTunnel.h.

Referenced by dtntunnel::UDPTunnel::UDPTunnel::Listener::run().

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

Proxy parameters

Definition at line 70 of file UDPTunnel.h.

Referenced by dtntunnel::UDPTunnel::UDPTunnel::Listener::run().

char dtntunnel::UDPTunnel::UDPTunnel::Listener::recv_buf_[65536] [protected]

Static receiving buffer.

Definition at line 65 of file UDPTunnel.h.

Referenced by dtntunnel::UDPTunnel::UDPTunnel::Listener::run().

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

Proxy parameters

Definition at line 71 of file UDPTunnel.h.

Referenced by dtntunnel::UDPTunnel::UDPTunnel::Listener::run().

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

Proxy parameters

Definition at line 72 of file UDPTunnel.h.

Referenced by dtntunnel::UDPTunnel::UDPTunnel::Listener::run().

oasys::UDPClient dtntunnel::UDPTunnel::UDPTunnel::Listener::sock_ [protected]

Receiver socket.

Definition at line 62 of file UDPTunnel.h.

Referenced by dtntunnel::UDPTunnel::UDPTunnel::Listener::run().


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