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 &)
 
void dial (AsyncCall &)
 
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 236 of file tunnel.cc.

Member Typedef Documentation

◆ Method

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

Definition at line 239 of file tunnel.cc.

Constructor & Destructor Documentation

◆ MyAnswerDialer()

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

Definition at line 241 of file tunnel.cc.

Member Function Documentation

◆ answer()

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

Implements Security::PeerConnector::CbDialer.

Definition at line 252 of file tunnel.cc.

References answer_.

◆ canDial()

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

Definition at line 245 of file tunnel.cc.

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

◆ dial()

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

Definition at line 246 of file tunnel.cc.

References answer_, and method_.

◆ print()

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

Implements CallDialer.

Definition at line 247 of file tunnel.cc.

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

Member Data Documentation

◆ answer_

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

Definition at line 257 of file tunnel.cc.

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

◆ method_

Method TunnelStateData::MyAnswerDialer::method_
private

Definition at line 255 of file tunnel.cc.

Referenced by dial().

◆ tunnel_

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

Definition at line 256 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