protlib::TPoverUDP Class Reference

TP over UDP. More...

#include <source/ariba/utility/transport/tcpip/protlib/tp_over_udp.h>

Inherits protlib::TP, and protlib::Thread.

Collaboration diagram for protlib::TPoverUDP:

Collaboration graph
[legend]

List of all members.

Classes

class  sender_thread_start_arg_t

Public Member Functions

virtual void send (NetMsg *msg, const address &addr, bool use_existing_connection)
 sends a network message, spawns receiver thread if necessary
virtual void terminate (const address &addr)
 terminates an existing signaling association/connection
virtual void main_loop (uint32 nr)
 main loop
 TPoverUDP (const TPoverUDPParam &p)
 constructor
virtual ~TPoverUDP ()
 virtual destructor
int get_listener_socket () const

Private Member Functions

void udpsend (NetMsg *msg, appladdress *addr)
 send a message to the network via UDP
void listener_thread ()
 listener thread procedure
void terminate_all_threads ()
 terminates all active receiver or sender threads

Static Private Member Functions

static void * listener_thread_starter (void *argp)
 a static starter method to invoke the listener thread

Private Attributes

const TPoverUDPParam tpparam
 parameters for main TPoverUDP thread
bool already_aborted
 did we already abort at thread shutdown
FastQueuemsgqueue
 message queue
bool debug_pdu
int master_listener_socket


Detailed Description

TP over UDP.

This class implements the TP interface using UDP.

Definition at line 102 of file tp_over_udp.h.


Constructor & Destructor Documentation

protlib::TPoverUDP::TPoverUDP ( const TPoverUDPParam p  )  [inline]

constructor

< init done;

Definition at line 118 of file tp_over_udp.h.

References protlib::TP::init.


Member Function Documentation

int protlib::TPoverUDP::get_listener_socket (  )  const [inline]

Definition at line 140 of file tp_over_udp.h.

References master_listener_socket.

void protlib::TPoverUDP::terminate_all_threads (  )  [private]

terminates all active receiver or sender threads


Member Data Documentation

did we already abort at thread shutdown

Definition at line 161 of file tp_over_udp.h.

Definition at line 165 of file tp_over_udp.h.

Referenced by udpsend().

Definition at line 167 of file tp_over_udp.h.

Referenced by get_listener_socket(), listener_thread(), and udpsend().

message queue

Definition at line 163 of file tp_over_udp.h.

parameters for main TPoverUDP thread

Definition at line 158 of file tp_over_udp.h.

Referenced by listener_thread(), main_loop(), udpsend(), and ~TPoverUDP().


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

Generated on Fri Aug 14 23:39:58 2009 for Ariba by  doxygen 1.5.8