protlib::TPoverUDPParam Struct Reference

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

Inherits protlib::ThreadParam.

Collaboration diagram for protlib::TPoverUDPParam:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TPoverUDPParam (unsigned short common_header_length, bool(*const getmsglength)(NetMsg &m, uint32 &clen_words), port_t listen_port, uint32 sleep=ThreadParam::default_sleep_time, bool debug_pdu=false, message::qaddr_t source=message::qaddr_tp_over_udp, message::qaddr_t dest=message::qaddr_signaling, bool sendaborts=false, uint8 tos=0x10)
 constructor

Public Attributes

const port_t port
 port to bind master listener thread to
bool debug_pdu
const message::qaddr_t source
 message source
const message::qaddr_t dest
const unsigned short common_header_length
 what is the length of the common header
bool(*const getmsglength )(NetMsg &m, uint32 &clen_words)
const bool terminate
 should master thread terminate?
const uint8 ip_tos
bool(* rao_lookup )(uint32)


Detailed Description

this struct conatains parameters that determine the behavior of listener and receiver threads in TPoverUDP
Parameters:
port - port number for master listener thread (server port)
sleep - time (in ms) that listener and receiver wait at a poll() call
d - destination module, where internal message are sent

Definition at line 53 of file tp_over_udp.h.


Constructor & Destructor Documentation

protlib::TPoverUDPParam::TPoverUDPParam ( unsigned short  common_header_length,
bool(*)(NetMsg &m, uint32 &clen_words)  getmsglength,
port_t  listen_port,
uint32  sleep = ThreadParam::default_sleep_time,
bool  debug_pdu = false,
message::qaddr_t  source = message::qaddr_tp_over_udp,
message::qaddr_t  dest = message::qaddr_signaling,
bool  sendaborts = false,
uint8  tos = 0x10 
) [inline]

constructor

Definition at line 56 of file tp_over_udp.h.


Member Data Documentation

what is the length of the common header

Definition at line 84 of file tp_over_udp.h.

Definition at line 79 of file tp_over_udp.h.

Definition at line 82 of file tp_over_udp.h.

Referenced by protlib::TPoverUDP::listener_thread().

bool(*const protlib::TPoverUDPParam::getmsglength)(NetMsg &m, uint32 &clen_words)

function pointer to a function that figures out the msg length in number of 4 byte words it returns false if error occured (e.g., malformed header), result is returned in variable clen_words

Definition at line 92 of file tp_over_udp.h.

port to bind master listener thread to

Definition at line 75 of file tp_over_udp.h.

Referenced by protlib::TPoverUDP::listener_thread(), and protlib::TPoverUDP::main_loop().

message source

Definition at line 81 of file tp_over_udp.h.

Referenced by protlib::TPoverUDP::listener_thread().

should master thread terminate?

Definition at line 91 of file tp_over_udp.h.


The documentation for this struct was generated from the following file:

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