#include <source/ariba/utility/transport/tcpip/protlib/tp_over_tcp.h>
Inherits protlib::ThreadParam.
Public Member Functions | |
TPoverTCPParam (unsigned short common_header_length, bool(*const getmsglength)(NetMsg &m, uint32 &clen_bytes), port_t p, const char *threadname="TPoverTCP", uint32 sleep=ThreadParam::default_sleep_time, bool debug_pdu=false, message::qaddr_t source=message::qaddr_transport, 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 |
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_tcp.h.
protlib::TPoverTCPParam::TPoverTCPParam | ( | unsigned short | common_header_length, | |
bool(*)(NetMsg &m, uint32 &clen_bytes) | getmsglength, | |||
port_t | p, | |||
const char * | threadname = "TPoverTCP" , |
|||
uint32 | sleep = ThreadParam::default_sleep_time , |
|||
bool | debug_pdu = false , |
|||
message::qaddr_t | source = message::qaddr_transport , |
|||
message::qaddr_t | dest = message::qaddr_signaling , |
|||
bool | sendaborts = false , |
|||
uint8 | tos = 0x10 | |||
) | [inline] |
const unsigned short protlib::TPoverTCPParam::common_header_length |
Definition at line 80 of file tp_over_tcp.h.
bool(*const protlib::TPoverTCPParam::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 93 of file tp_over_tcp.h.
port to bind master listener thread to
Definition at line 75 of file tp_over_tcp.h.
Referenced by protlib::TPoverTCP::master_listener_thread().
message source
Definition at line 82 of file tp_over_tcp.h.
Referenced by protlib::TPoverTCP::get_connection_to(), protlib::TPoverTCP::main_loop(), protlib::TPoverTCP::receiver_thread(), protlib::TPoverTCP::send(), protlib::TPoverTCP::terminate_sender_thread(), and protlib::TPoverTCP::~TPoverTCP().
const bool protlib::TPoverTCPParam::terminate |