User Manual, Developers Guide and API Documentation

tcp::OneWayHandshake Class Reference

This FU is a stub for keeping the service generic. Request for connection establishment delegated from the service are instantly turned back so that the service can respond to an openConnection with onConnectionEstablished.

#include <OneWayHandshake.hpp>

Inheritance diagram for tcp::OneWayHandshake:

Inheritance graph
[legend]
Collaboration diagram for tcp::OneWayHandshake:

Collaboration graph
[legend]

List of all members.

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
 Implementation of the CompoundHandlerInterface.
virtual void doOnData (const wns::ldk::CompoundPtr &_compound)
virtual void doSendData (const wns::ldk::CompoundPtr &_compound)
 OneWayHandshake (wns::ldk::fun::FUN *_fun, const wns::pyconfig::View &_pyco)
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)
virtual ~OneWayHandshake ()
 Component's destructor.

Private Member Functions

bool doIsAccepting (const wns::ldk::CompoundPtr &_compound)
void doWakeup ()

Private Attributes

wns::pyconfig::View config
 Configuration for this component.
wns::ldk::fun::FUNfun
wns::logger::Logger logger
 My logger.
HandshakeStrategyHandlerInterfacestrategyHandler
 The service of the UDP component.


Detailed Description

Definition at line 55 of file OneWayHandshake.hpp.


Constructor & Destructor Documentation

OneWayHandshake::OneWayHandshake ( wns::ldk::fun::FUN _fun,
const wns::pyconfig::View _pyco 
)

Definition at line 46 of file OneWayHandshake.cpp.

OneWayHandshake::~OneWayHandshake (  )  [virtual]

Definition at line 60 of file OneWayHandshake.cpp.


Member Function Documentation

void OneWayHandshake::activeOpen ( const wns::service::tl::FlowID _flowID  )  [virtual]

Implements tcp::HandshakeStrategyInterface.

Definition at line 97 of file OneWayHandshake.cpp.

void OneWayHandshake::closeConnection ( const wns::service::tl::FlowID _flowID  )  [virtual]

Implements tcp::HandshakeStrategyInterface.

Definition at line 119 of file OneWayHandshake.cpp.

bool OneWayHandshake::doIsAccepting ( const wns::ldk::CompoundPtr _compound  )  [private]

Definition at line 80 of file OneWayHandshake.cpp.

bool OneWayHandshake::doIsAccepting ( const wns::ldk::CompoundPtr _compound  )  const [virtual]

Definition at line 91 of file OneWayHandshake.cpp.

void OneWayHandshake::doOnData ( const wns::ldk::CompoundPtr _compound  )  [virtual]

Definition at line 70 of file OneWayHandshake.cpp.

void OneWayHandshake::doSendData ( const wns::ldk::CompoundPtr _compound  )  [virtual]

Definition at line 75 of file OneWayHandshake.cpp.

void OneWayHandshake::doWakeup (  )  [private]

Definition at line 86 of file OneWayHandshake.cpp.

void OneWayHandshake::onFUNCreated (  )  [virtual]

Reimplemented from wns::ldk::FunctionalUnit.

Definition at line 65 of file OneWayHandshake.cpp.

void OneWayHandshake::passiveOpen ( const wns::service::tl::FlowID _flowID  )  [virtual]

Implements tcp::HandshakeStrategyInterface.

Definition at line 105 of file OneWayHandshake.cpp.

void OneWayHandshake::registerStrategyHandler ( HandshakeStrategyHandlerInterface _strategyHandler  )  [virtual]

Implements tcp::HandshakeStrategyInterface.

Definition at line 113 of file OneWayHandshake.cpp.


Member Data Documentation

Definition at line 142 of file OneWayHandshake.hpp.

Definition at line 144 of file OneWayHandshake.hpp.

Definition at line 132 of file OneWayHandshake.hpp.

Definition at line 137 of file OneWayHandshake.hpp.


The documentation for this class was generated from the following files:

Generated on Sat May 26 03:32:40 2012 for openWNS by  doxygen 1.5.5