dtn::TCPConvergenceLayer::Listener Class Reference

#include <TCPConvergenceLayer.h>

Inheritance diagram for dtn::TCPConvergenceLayer::Listener:

dtn::CLInfo oasys::TCPServerThread oasys::SerializableObject oasys::TCPServer oasys::Thread oasys::IPSocket oasys::Logger oasys::IOHandlerBase

List of all members.


Detailed Description

Helper class (and thread) that listens on a registered interface for new connections.

Definition at line 98 of file TCPConvergenceLayer.h.


Public Member Functions

 Listener (TCPConvergenceLayer *cl)
void accepted (int fd, in_addr_t addr, u_int16_t port)
 Virtual callback hook that gets called when new connections arrive.

Public Attributes

TCPConvergenceLayercl_
 The TCPCL instance.

Constructor & Destructor Documentation

dtn::TCPConvergenceLayer::Listener::Listener ( TCPConvergenceLayer cl  ) 

Definition at line 251 of file TCPConvergenceLayer.cc.

References oasys::IPSocket::logfd_.


Member Function Documentation

void dtn::TCPConvergenceLayer::Listener::accepted ( int  fd,
in_addr_t  addr,
u_int16_t  port 
) [virtual]

Virtual callback hook that gets called when new connections arrive.

Implements oasys::TCPServerThread.

Definition at line 262 of file TCPConvergenceLayer.cc.

References cl_, dtn::TCPConvergenceLayer::default_link_params_, intoa, and log_debug.


Member Data Documentation

TCPConvergenceLayer* dtn::TCPConvergenceLayer::Listener::cl_

The TCPCL instance.

Definition at line 104 of file TCPConvergenceLayer.h.

Referenced by accepted().


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:43:46 2007 for DTN Reference Implementation by  doxygen 1.5.3