#include <source/ariba/utility/transport/tcpip/protlib/tp_over_udp.h>
Inherits protlib::TP, and protlib::Thread.
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 | |
FastQueue * | msgqueue |
message queue | |
bool | debug_pdu |
int | master_listener_socket |
This class implements the TP interface using UDP.
Definition at line 102 of file tp_over_udp.h.
protlib::TPoverUDP::TPoverUDP | ( | const TPoverUDPParam & | p | ) | [inline] |
constructor
< init done;
Definition at line 118 of file tp_over_udp.h.
References protlib::TP::init.
int protlib::TPoverUDP::get_listener_socket | ( | ) | const [inline] |
void protlib::TPoverUDP::terminate_all_threads | ( | ) | [private] |
terminates all active receiver or sender threads
bool protlib::TPoverUDP::already_aborted [private] |
bool protlib::TPoverUDP::debug_pdu [private] |
int protlib::TPoverUDP::master_listener_socket [private] |
Definition at line 167 of file tp_over_udp.h.
Referenced by get_listener_socket(), listener_thread(), and udpsend().
FastQueue* protlib::TPoverUDP::msgqueue [private] |
const TPoverUDPParam protlib::TPoverUDP::tpparam [private] |
parameters for main TPoverUDP thread
Definition at line 158 of file tp_over_udp.h.
Referenced by listener_thread(), main_loop(), udpsend(), and ~TPoverUDP().