dtntunnel::UDPTunnel Class Reference

#include <UDPTunnel.h>

Inheritance diagram for dtntunnel::UDPTunnel:

dtntunnel::IPTunnel

List of all members.

Classes

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

Public Member Functions

 UDPTunnel ()
 Constructor.
void add_listener (in_addr_t listen_addr, u_int16_t listen_port, in_addr_t remote_addr, u_int16_t remote_port)
 Add a new listener.
void handle_bundle (dtn::APIBundle *bundle)
 Handle a newly arriving bundle.

Protected Attributes

oasys::UDPClient sock_
 Sender socket.


Detailed Description

Definition at line 34 of file UDPTunnel.h.


Constructor & Destructor Documentation

dtntunnel::UDPTunnel::UDPTunnel (  ) 

Constructor.

Definition at line 29 of file UDPTunnel.cc.

References sock_.


Member Function Documentation

void dtntunnel::UDPTunnel::add_listener ( in_addr_t  listen_addr,
u_int16_t  listen_port,
in_addr_t  remote_addr,
u_int16_t  remote_port 
) [virtual]

Add a new listener.

Implements dtntunnel::IPTunnel.

Definition at line 38 of file UDPTunnel.cc.

Referenced by dtntunnel::DTNTunnel::init_tunnel().

void dtntunnel::UDPTunnel::handle_bundle ( dtn::APIBundle bundle  )  [virtual]


Member Data Documentation

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

Sender socket.

Definition at line 48 of file UDPTunnel.h.

Referenced by handle_bundle(), and UDPTunnel().


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