transport protcol message More...
#include <source/ariba/utility/transport/tcpip/protlib/tp.h>
Inherits protlib::message.

Public Member Functions | |
| void | set_oif (uint16 iface) |
| set Outgoing Interface | |
| uint16 | get_oif () |
| get Outgoing Interface | |
| virtual void | clear_pointers () |
| TPMsg (NetMsg *m=NULL, address *peer=NULL, address *ownaddr=NULL, TPError *e=NULL, uint16 oif=0) | |
| constructor | |
| virtual | ~TPMsg () |
| destructor | |
| const address * | get_peeraddress () const |
| get peer address | |
| const address * | get_ownaddress () const |
| set own address | |
| address * | set_peeraddress (address *a) |
| set peer address | |
| address * | set_ownaddress (address *a) |
| set own address | |
| NetMsg * | get_message () const |
| get network message | |
| NetMsg * | set_message (NetMsg *m) |
| set network message | |
| TPError * | get_error () const |
| get TP error | |
| TPError * | set_error (TPError *e) |
| set TP error | |
Private Attributes | |
| address * | peeraddr |
| peer address | |
| address * | ownaddr |
| own address | |
| NetMsg * | msg |
| network message | |
| TPError * | err |
| uint16 | oif |
| outgoing interface index | |
transport protcol message
This message class is used to carry received network messages.
Definition at line 131 of file tp.h.
| protlib::TPMsg::~TPMsg | ( | ) | [inline, virtual] |
| void protlib::TPMsg::clear_pointers | ( | ) | [inline, virtual] |
| TPError * protlib::TPMsg::get_error | ( | ) | const [inline] |
| NetMsg * protlib::TPMsg::get_message | ( | ) | const [inline] |
get network message
Definition at line 233 of file tp.h.
References msg.
Referenced by ariba::transport::tcpip::receiverThread().
| uint16 protlib::TPMsg::get_oif | ( | ) | [inline] |
| const address * protlib::TPMsg::get_ownaddress | ( | ) | const [inline] |
set own address
Definition at line 216 of file tp.h.
References ownaddr.
Referenced by ariba::transport::tcpip::receiverThread().
| const address * protlib::TPMsg::get_peeraddress | ( | ) | const [inline] |
get peer address
Definition at line 213 of file tp.h.
References peeraddr.
Referenced by protlib::TPoverTCP::receiver_thread(), and ariba::transport::tcpip::receiverThread().
| void protlib::TPMsg::set_oif | ( | uint16 | iface | ) | [inline] |
TPError* protlib::TPMsg::err [private] |
Definition at line 169 of file tp.h.
Referenced by clear_pointers(), get_error(), set_error(), and ~TPMsg().
NetMsg* protlib::TPMsg::msg [private] |
network message
Definition at line 168 of file tp.h.
Referenced by clear_pointers(), get_message(), set_message(), and ~TPMsg().
uint16 protlib::TPMsg::oif [private] |
address* protlib::TPMsg::ownaddr [private] |
own address
Definition at line 166 of file tp.h.
Referenced by clear_pointers(), get_ownaddress(), set_ownaddress(), and ~TPMsg().
address* protlib::TPMsg::peeraddr [private] |
peer address
Definition at line 164 of file tp.h.
Referenced by clear_pointers(), get_peeraddress(), set_peeraddress(), and ~TPMsg().
1.6.1