Public Member Functions | Data Fields

NetAccept Struct Reference

#include <P_NetAccept.h>

Inherits Continuation.

Inherited by SSLNetAccept.

Collaboration diagram for NetAccept:
Collaboration graph
[legend]

Public Member Functions

virtual EventType getEtype () const
virtual NetProcessorgetNetProcessor () const
void init_accept_loop (const char *)
virtual void init_accept (EThread *t=NULL)
virtual void init_accept_per_thread ()
virtual NetAcceptclone () const
int do_listen (bool non_blocking, bool transparent=false)
int do_blocking_accept (EThread *t)
virtual int acceptEvent (int event, void *e)
virtual int acceptFastEvent (int event, void *e)
int acceptLoopEvent (int event, Event *e)
void cancel ()
 NetAccept ()
virtual ~NetAccept ()

Data Fields

ink_hrtime period
Server server
void * alloc_cache
AcceptFunctionPtr accept_fn
int ifd
bool callback_on_open
bool backdoor
Ptr< NetAcceptActionaction_
int recv_bufsize
int send_bufsize
uint32_t sockopt_flags
uint32_t packet_mark
uint32_t packet_tos
EventType etype
UnixNetVConnectionepoll_vc
EventIO ep

Detailed Description

Definition at line 84 of file P_NetAccept.h.


Constructor & Destructor Documentation

NetAccept::NetAccept (  ) 

Definition at line 528 of file UnixNetAccept.cc.

virtual NetAccept::~NetAccept (  )  [inline, virtual]

Definition at line 120 of file P_NetAccept.h.

References action_.


Member Function Documentation

int NetAccept::acceptEvent ( int  event,
void *  e 
) [virtual]
int NetAccept::acceptFastEvent ( int  event,
void *  e 
) [virtual]
int NetAccept::acceptLoopEvent ( int  event,
Event e 
)
void NetAccept::cancel ( void   ) 

Definition at line 549 of file UnixNetAccept.cc.

References action_, Connection::close(), and server.

NetAccept * NetAccept::clone (  )  const [virtual]

Reimplemented in SSLNetAccept.

Definition at line 556 of file UnixNetAccept.cc.

Referenced by UnixNetProcessor::accept_internal(), and init_accept_per_thread().

int NetAccept::do_blocking_accept ( EThread t  ) 
int NetAccept::do_listen ( bool  non_blocking,
bool  transparent = false 
)
EventType NetAccept::getEtype (  )  const [virtual]

Reimplemented in SSLNetAccept.

Definition at line 567 of file UnixNetAccept.cc.

References etype.

Referenced by do_blocking_accept().

NetProcessor * NetAccept::getNetProcessor (  )  const [virtual]

Reimplemented in SSLNetAccept.

Definition at line 573 of file UnixNetAccept.cc.

References netProcessor.

Referenced by acceptFastEvent(), do_blocking_accept(), and net_accept().

void NetAccept::init_accept ( EThread t = NULL  )  [virtual]
void NetAccept::init_accept_loop ( const char *  thr_name  ) 
void NetAccept::init_accept_per_thread (  )  [virtual]

Field Documentation

Definition at line 88 of file P_NetAccept.h.

Referenced by do_blocking_accept(), and net_accept().

Definition at line 91 of file P_NetAccept.h.

Referenced by UnixNetProcessor::accept_internal(), and do_listen().

Definition at line 101 of file P_NetAccept.h.

Referenced by init_accept_per_thread(), and SSLNetAccept::init_accept_per_thread().

Definition at line 100 of file P_NetAccept.h.

Definition at line 90 of file P_NetAccept.h.

Referenced by acceptFastEvent().

Definition at line 94 of file P_NetAccept.h.

Referenced by UnixNetProcessor::accept_internal(), acceptFastEvent(), and do_listen().

Definition at line 95 of file P_NetAccept.h.

Referenced by UnixNetProcessor::accept_internal(), acceptFastEvent(), and do_listen().

Definition at line 96 of file P_NetAccept.h.

Referenced by UnixNetProcessor::accept_internal(), and acceptFastEvent().


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