Public Member Functions | Data Fields

Server Struct Reference

#include <P_Connection.h>

Inherits Connection.

Inherited by ClusterMachine, and Machine.

Collaboration diagram for Server:
Collaboration graph
[legend]

Public Member Functions

int proxy_listen (bool non_blocking=false)
int accept (Connection *c)
int listen (bool non_blocking=false, int recv_bufsize=0, int send_bufsize=0, bool transparent=false)
int setup_fd_for_listen (bool non_blocking=false, int recv_bufsize=0, int send_bufsize=0, bool transparent=false)
 Server ()

Data Fields

IpEndpoint accept_addr
 Client side (inbound) local IP address.
bool f_inbound_transparent
 If set, the related incoming connect was transparent.
bool http_accept_filter
 If set, a kernel HTTP accept filter.

Detailed Description

Definition at line 156 of file P_Connection.h.


Constructor & Destructor Documentation

Server::Server (  )  [inline]

Definition at line 188 of file P_Connection.h.

References accept_addr.


Member Function Documentation

int Server::accept ( Connection c  ) 
int Server::listen ( bool  non_blocking = false,
int  recv_bufsize = 0,
int  send_bufsize = 0,
bool  transparent = false 
)
int Server::proxy_listen ( bool  non_blocking = false  ) 
int Server::setup_fd_for_listen ( bool  non_blocking = false,
int  recv_bufsize = 0,
int  send_bufsize = 0,
bool  transparent = false 
)

Field Documentation

Client side (inbound) local IP address.

Definition at line 159 of file P_Connection.h.

Referenced by UnixNetProcessor::accept_internal(), NetAccept::do_listen(), listen(), and Server().

If set, the related incoming connect was transparent.

Definition at line 162 of file P_Connection.h.

Referenced by UnixNetProcessor::accept_internal(), NetAccept::acceptFastEvent(), NetAccept::do_blocking_accept(), and net_accept().

If set, a kernel HTTP accept filter.

Definition at line 165 of file P_Connection.h.

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


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