dials clientListenerConnectionOpened call More...

Inheritance diagram for ListeningStartedDialer:
Collaboration diagram for ListeningStartedDialer:

Public Types

typedef void(* Handler) (AnyP::PortCfgPointer &portCfg, const Ipc::FdNoteId note, const Subscription::Pointer &sub)
 
using Answer = Ipc::StartListeningAnswer
 

Public Member Functions

 ListeningStartedDialer (Handler aHandler, AnyP::PortCfgPointer &aPortCfg, const Ipc::FdNoteId note, const Subscription::Pointer &aSub)
 
void print (std::ostream &os) const override
 
virtual bool canDial (AsyncCall &) const
 
virtual void dial (AsyncCall &)
 
Ipc::StartListeningAnsweranswer () override
 callback results setter More...
 

Public Attributes

Handler handler
 

Private Attributes

Ipc::StartListeningAnswer answer_
 StartListening() results. More...
 
AnyP::PortCfgPointer portCfg
 from HttpPortList More...
 
Ipc::FdNoteId portTypeNote
 Type of IPC socket being opened. More...
 
Subscription::Pointer sub
 The handler to be subscribed for this connection listener. More...
 

Detailed Description

Definition at line 153 of file client_side.cc.

Member Typedef Documentation

◆ Answer

Definition at line 21 of file AsyncCallbacks.h.

◆ Handler

typedef void(* ListeningStartedDialer::Handler) (AnyP::PortCfgPointer &portCfg, const Ipc::FdNoteId note, const Subscription::Pointer &sub)

Definition at line 158 of file client_side.cc.

Constructor & Destructor Documentation

◆ ListeningStartedDialer()

ListeningStartedDialer::ListeningStartedDialer ( Handler  aHandler,
AnyP::PortCfgPointer aPortCfg,
const Ipc::FdNoteId  note,
const Subscription::Pointer aSub 
)
inline

Definition at line 159 of file client_side.cc.

Member Function Documentation

◆ answer()

Ipc::StartListeningAnswer & ListeningStartedDialer::answer ( )
inlineoverridevirtual

Implements WithAnswer< Ipc::StartListeningAnswer >.

Definition at line 171 of file client_side.cc.

References answer_.

◆ canDial()

virtual bool ListeningStartedDialer::canDial ( AsyncCall ) const
inlinevirtual

Definition at line 167 of file client_side.cc.

◆ dial()

virtual void ListeningStartedDialer::dial ( AsyncCall )
inlinevirtual

Definition at line 168 of file client_side.cc.

References handler, portCfg, portTypeNote, and sub.

◆ print()

void ListeningStartedDialer::print ( std::ostream &  os) const
inlineoverridevirtual

Implements CallDialer.

Definition at line 163 of file client_side.cc.

References answer_, Ipc::FdNote(), portCfg, and portTypeNote.

Member Data Documentation

◆ answer_

Ipc::StartListeningAnswer ListeningStartedDialer::answer_
private

Definition at line 178 of file client_side.cc.

Referenced by answer(), and print().

◆ handler

Handler ListeningStartedDialer::handler

Definition at line 174 of file client_side.cc.

Referenced by dial().

◆ portCfg

AnyP::PortCfgPointer ListeningStartedDialer::portCfg
private

Definition at line 179 of file client_side.cc.

Referenced by dial(), and print().

◆ portTypeNote

Ipc::FdNoteId ListeningStartedDialer::portTypeNote
private

Definition at line 180 of file client_side.cc.

Referenced by dial(), and print().

◆ sub

Subscription::Pointer ListeningStartedDialer::sub
private

Definition at line 181 of file client_side.cc.

Referenced by dial().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors