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)
 

Public Member Functions

 ListeningStartedDialer (Handler aHandler, AnyP::PortCfgPointer &aPortCfg, const Ipc::FdNoteId note, const Subscription::Pointer &aSub)
 
virtual void print (std::ostream &os) const
 
virtual bool canDial (AsyncCall &) const
 
virtual void dial (AsyncCall &)
 
std::ostream & startPrint (std::ostream &os) const
 starts printing arguments, return os More...
 

Public Attributes

Handler handler
 
Comm::ConnectionPointer conn
 opened listening socket More...
 
int errNo
 errno value from the comm_open_listener() call More...
 
Subscription::Pointer handlerSubscription
 The subscription we will pass on to the ConnAcceptor. More...
 

Private Attributes

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 connetion listener. More...
 

Detailed Description

Definition at line 147 of file client_side.cc.

Member Typedef Documentation

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

Definition at line 150 of file client_side.cc.

Constructor & Destructor Documentation

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

Definition at line 151 of file client_side.cc.

Member Function Documentation

virtual bool ListeningStartedDialer::canDial ( AsyncCall ) const
inlinevirtual

Definition at line 159 of file client_side.cc.

virtual void ListeningStartedDialer::dial ( AsyncCall )
inlinevirtual

Definition at line 160 of file client_side.cc.

References handler, portCfg, portTypeNote, and sub.

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

Implements CallDialer.

Definition at line 154 of file client_side.cc.

References Ipc::FdNote(), portCfg, portTypeNote, and Ipc::StartListeningCb::startPrint().

std::ostream & Ipc::StartListeningCb::startPrint ( std::ostream &  os) const
inherited

Definition at line 29 of file StartListening.cc.

References conn.

Referenced by Comm::UdpOpenDialer::print(), and print().

Member Data Documentation

Comm::ConnectionPointer Ipc::StartListeningCb::conn
inherited
int Ipc::StartListeningCb::errNo
inherited
Handler ListeningStartedDialer::handler

Definition at line 163 of file client_side.cc.

Referenced by dial().

Subscription::Pointer Ipc::StartListeningCb::handlerSubscription
inherited

Definition at line 38 of file StartListening.h.

Referenced by Ipc::SharedListenJoined().

AnyP::PortCfgPointer ListeningStartedDialer::portCfg
private

Definition at line 166 of file client_side.cc.

Referenced by dial(), and print().

Ipc::FdNoteId ListeningStartedDialer::portTypeNote
private

Definition at line 167 of file client_side.cc.

Referenced by dial(), and print().

Subscription::Pointer ListeningStartedDialer::sub
private

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