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


Public Member Functions | |
| virtual void | activeOpen (const wns::service::tl::FlowID &_flowID) |
| virtual void | closeConnection (const wns::service::tl::FlowID &_flowID) |
| virtual bool | doIsAccepting (const wns::ldk::CompoundPtr &_compound) const |
| Implementing the CompoundHandlerInterface. | |
| virtual void | doOnData (const wns::ldk::CompoundPtr &_compound) |
| virtual void | doSendData (const wns::ldk::CompoundPtr &_compound) |
| virtual void | onFUNCreated () |
| Find my friends. This is currently the connection comprising state while connection establishing or termination. | |
| virtual void | passiveOpen (const wns::service::tl::FlowID &_flowID) |
| virtual void | registerStrategyHandler (HandshakeStrategyHandlerInterface *_strategyHandler) |
| Register the TCP service. | |
| void | tcpFlagsToUpperCommand (wns::ldk::CompoundPtr &_compound) |
| This function the boolean flags of the UpperCommand according to the flags set by the state transitions. | |
| ThreeWayHandshake (wns::ldk::fun::FUN *_fun, const wns::pyconfig::View &_pyco) | |
| virtual | ~ThreeWayHandshake () |
| Component's destructor. | |
Private Member Functions | |
| bool | doIsAccepting (const wns::ldk::CompoundPtr &_compound) |
| void | doWakeup () |
Private Attributes | |
| wns::service::tl::FlowID | flowID |
| The flow ID of this instance. | |
| FiniteStateMachine * | fsm |
| The implementation of TCP's finite state machine. | |
| wns::logger::Logger | logger |
| My logger. | |
| wns::pyconfig::View | pyco |
| Configuration for this component. | |
| HandshakeStrategyHandlerInterface * | strategyHandler |
| The service of the TCP component. | |
| TCPHeader * | tcpHeaderFU |
| wns::ldk::CommandReaderInterface * | tcpHeaderReader |
Definition at line 57 of file ThreeWayHandshake.hpp.
| ThreeWayHandshake::ThreeWayHandshake | ( | wns::ldk::fun::FUN * | _fun, | |
| const wns::pyconfig::View & | _pyco | |||
| ) |
Definition at line 51 of file ThreeWayHandshake.cpp.
| ThreeWayHandshake::~ThreeWayHandshake | ( | ) | [virtual] |
Definition at line 71 of file ThreeWayHandshake.cpp.
| void ThreeWayHandshake::activeOpen | ( | const wns::service::tl::FlowID & | _flowID | ) | [virtual] |
| void ThreeWayHandshake::closeConnection | ( | const wns::service::tl::FlowID & | _flowID | ) | [virtual] |
| bool ThreeWayHandshake::doIsAccepting | ( | const wns::ldk::CompoundPtr & | _compound | ) | [private] |
Definition at line 253 of file ThreeWayHandshake.cpp.
| bool ThreeWayHandshake::doIsAccepting | ( | const wns::ldk::CompoundPtr & | _compound | ) | const [virtual] |
Definition at line 264 of file ThreeWayHandshake.cpp.
| void ThreeWayHandshake::doOnData | ( | const wns::ldk::CompoundPtr & | _compound | ) | [virtual] |
Definition at line 86 of file ThreeWayHandshake.cpp.
| void ThreeWayHandshake::doSendData | ( | const wns::ldk::CompoundPtr & | _compound | ) | [virtual] |
Definition at line 243 of file ThreeWayHandshake.cpp.
| void ThreeWayHandshake::doWakeup | ( | ) | [private] |
Definition at line 259 of file ThreeWayHandshake.cpp.
| void ThreeWayHandshake::onFUNCreated | ( | ) | [virtual] |
| void ThreeWayHandshake::passiveOpen | ( | const wns::service::tl::FlowID & | _flowID | ) | [virtual] |
| void ThreeWayHandshake::registerStrategyHandler | ( | HandshakeStrategyHandlerInterface * | _strategyHandler | ) | [virtual] |
| void ThreeWayHandshake::tcpFlagsToUpperCommand | ( | wns::ldk::CompoundPtr & | _compound | ) |
Definition at line 330 of file ThreeWayHandshake.cpp.
Definition at line 152 of file ThreeWayHandshake.hpp.
FiniteStateMachine* tcp::ThreeWayHandshake::fsm [private] |
Definition at line 162 of file ThreeWayHandshake.hpp.
Definition at line 142 of file ThreeWayHandshake.hpp.
Definition at line 157 of file ThreeWayHandshake.hpp.
Definition at line 147 of file ThreeWayHandshake.hpp.
TCPHeader* tcp::ThreeWayHandshake::tcpHeaderFU [private] |
Definition at line 164 of file ThreeWayHandshake.hpp.
Definition at line 166 of file ThreeWayHandshake.hpp.
1.5.5