![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <Connection.hpp>


Public Member Functions | |
| Connection (const wns::service::tl::FlowID &_flowID, UpperConvergence *_upperConvergence, const wns::pyconfig::View &_config) | |
| wns::service::tl::FlowID | getFlowID () |
| void | onData (const wns::osi::PDUPtr &_pdu) |
| Deliver the retrieved data to the corresponding data handler. | |
| virtual void | registerDataHandler (wns::service::tl::DataHandler *_dh) |
| Register DataHandler for incoming data. | |
| virtual void | sendData (const wns::osi::PDUPtr &_pdu) |
| Send Data. | |
Private Attributes | |
| wns::service::tl::DataHandler * | dh |
| The DataHandler of the upper layer. | |
| wns::service::tl::FlowID | flowID |
| The connection's flow id. | |
| wns::logger::Logger | logger |
| My logger. | |
| UpperConvergence * | upperConvergence |
| The UpperConvergence of TCP's FUN. | |
Definition at line 43 of file Connection.hpp.
| Connection::Connection | ( | const wns::service::tl::FlowID & | _flowID, | |
| UpperConvergence * | _upperConvergence, | |||
| const wns::pyconfig::View & | _config | |||
| ) |
Definition at line 35 of file Connection.cpp.
| wns::service::tl::FlowID Connection::getFlowID | ( | ) |
Definition at line 63 of file Connection.cpp.
| void Connection::onData | ( | const wns::osi::PDUPtr & | _pdu | ) |
| void Connection::registerDataHandler | ( | wns::service::tl::DataHandler * | _dh | ) | [virtual] |
| [in] | _dh | DataHandler were incoming data should be delivered to. |
Implements wns::service::tl::Connection.
Definition at line 45 of file Connection.cpp.
| void Connection::sendData | ( | const wns::osi::PDUPtr & | _pdu | ) | [virtual] |
| [in] | _pdu | Payload to be sent. |
Implements wns::service::tl::Connection.
Definition at line 53 of file Connection.cpp.
wns::service::tl::DataHandler* tcp::Connection::dh [private] |
Definition at line 83 of file Connection.hpp.
Definition at line 73 of file Connection.hpp.
wns::logger::Logger tcp::Connection::logger [private] |
Definition at line 78 of file Connection.hpp.
Definition at line 88 of file Connection.hpp.
1.5.5