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

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) |
this struct conatains parameters that determine the behavior of listener and receiver threads in TPoverUDP
| 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.
| 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.
| const unsigned short protlib::TPoverUDPParam::common_header_length |
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().
| const bool protlib::TPoverUDPParam::terminate |
should master thread terminate?
Definition at line 91 of file tp_over_udp.h.
1.6.1