TunnelStateData::MyAnswerDialer Class Reference

Gives Security::PeerConnector access to Answer in the TunnelStateData callback dialer. More...

Inheritance diagram for TunnelStateData::MyAnswerDialer:
Collaboration diagram for TunnelStateData::MyAnswerDialer:

Public Types

typedef void(TunnelStateData::* Method )(Security::EncryptorAnswer &)
 

Public Member Functions

 MyAnswerDialer (Method method, TunnelStateData *tunnel)
 
virtual bool canDial (AsyncCall &call)
 
void dial (AsyncCall &call)
 
virtual void print (std::ostream &os) const
 
virtual Security::EncryptorAnsweranswer ()
 gives PeerConnector access to the in-dialer answer More...
 

Private Attributes

Method method_
 
CbcPointer< TunnelStateDatatunnel_
 
Security::EncryptorAnswer answer_
 

Detailed Description

Definition at line 195 of file tunnel.cc.

Member Typedef Documentation

typedef void(TunnelStateData::* TunnelStateData::MyAnswerDialer::Method)(Security::EncryptorAnswer &)

Definition at line 198 of file tunnel.cc.

Constructor & Destructor Documentation

TunnelStateData::MyAnswerDialer::MyAnswerDialer ( Method  method,
TunnelStateData tunnel 
)
inline

Definition at line 200 of file tunnel.cc.

Member Function Documentation

virtual Security::EncryptorAnswer& TunnelStateData::MyAnswerDialer::answer ( )
inlinevirtual

Implements Security::PeerConnector::CbDialer.

Definition at line 211 of file tunnel.cc.

References answer_.

virtual bool TunnelStateData::MyAnswerDialer::canDial ( AsyncCall call)
inlinevirtual

Definition at line 204 of file tunnel.cc.

References tunnel_, and CbcPointer< Cbc >::valid().

void TunnelStateData::MyAnswerDialer::dial ( AsyncCall call)
inline

Definition at line 205 of file tunnel.cc.

References answer_, and method_.

virtual void TunnelStateData::MyAnswerDialer::print ( std::ostream &  os) const
inlinevirtual

Implements CallDialer.

Definition at line 206 of file tunnel.cc.

References answer_, CbcPointer< Cbc >::get(), and tunnel_.

Member Data Documentation

Security::EncryptorAnswer TunnelStateData::MyAnswerDialer::answer_
private

Definition at line 216 of file tunnel.cc.

Referenced by answer(), dial(), and print().

Method TunnelStateData::MyAnswerDialer::method_
private

Definition at line 214 of file tunnel.cc.

Referenced by dial().

CbcPointer<TunnelStateData> TunnelStateData::MyAnswerDialer::tunnel_
private

Definition at line 215 of file tunnel.cc.

Referenced by canDial(), and print().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors