Public Member Functions | Data Fields

detail::HttpSessionAcceptOptions Class Reference

Options for HttpSessionAccept. More...

#include <HttpSessionAccept.h>

Inherited by HttpSessionAccept [private].

Collaboration diagram for detail::HttpSessionAcceptOptions:
Collaboration graph
[legend]

Public Member Functions

 HttpSessionAcceptOptions ()
selfsetTransportType (int)
 Set the transport type.
selfsetOutboundIp (IpAddr &ip)
 Set the outbound IP address to ip.
selfsetOutboundIp (IpEndpoint *ip)
 Set the outbound IP address to ip.
selfsetOutboundPort (uint16_t)
 Set outbound port.
selfsetOutboundTransparent (bool)
 Set outbound transparency.
selfsetTransparentPassthrough (bool)
 Set transparent passthrough.
selfsetBackdoor (bool)
 Set backdoor accept.
selfsetHostResPreference (HostResPreferenceOrder const)
 Set the host query preference.
selfsetSessionProtocolPreference (SessionProtocolSet const &)
 Set the session protocol preference.

Data Fields

int transport_type
IpAddr outbound_ip4
 Local address to bind for outbound connections.
IpAddr outbound_ip6
 Local address to bind for outbound connections.
uint16_t outbound_port
 Local port for outbound connection.
bool f_outbound_transparent
 Outbound transparent.
bool f_transparent_passthrough
 Transparent pass-through.
bool backdoor
 Accepting backdoor connections.
HostResPreferenceOrder host_res_preference
 Host address resolution preference order.
SessionProtocolSet session_protocol_preference
 Acceptable session protocols.

Detailed Description

Options for HttpSessionAccept.

Definition at line 52 of file HttpSessionAccept.h.


Constructor & Destructor Documentation

detail::HttpSessionAcceptOptions::HttpSessionAcceptOptions (  )  [inline]

Member Function Documentation

HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setBackdoor ( bool  flag  )  [inline]

Set backdoor accept.

Definition at line 145 of file HttpSessionAccept.h.

References backdoor.

HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setHostResPreference ( HostResPreferenceOrder const  order  )  [inline]

Set the host query preference.

Definition at line 151 of file HttpSessionAccept.h.

References host_res_preference, and memcpy.

Referenced by MakeHttpProxyAcceptor().

HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setOutboundIp ( IpAddr ip  )  [inline]

Set the outbound IP address to ip.

Definition at line 113 of file HttpSessionAccept.h.

References IpAddr::isIp4(), IpAddr::isIp6(), outbound_ip4, and outbound_ip6.

HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setOutboundIp ( IpEndpoint ip  )  [inline]

Set the outbound IP address to ip.

Definition at line 120 of file HttpSessionAccept.h.

References IpEndpoint::isIp4(), IpEndpoint::isIp6(), outbound_ip4, and outbound_ip6.

HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setOutboundPort ( uint16_t  port  )  [inline]

Set outbound port.

Definition at line 127 of file HttpSessionAccept.h.

References outbound_port.

HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setOutboundTransparent ( bool  flag  )  [inline]

Set outbound transparency.

Definition at line 133 of file HttpSessionAccept.h.

References f_outbound_transparent.

Referenced by init_HttpProxyServer().

HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setSessionProtocolPreference ( SessionProtocolSet const &  sp_set  )  [inline]

Set the session protocol preference.

Definition at line 157 of file HttpSessionAccept.h.

References session_protocol_preference.

Referenced by MakeHttpProxyAcceptor().

HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setTransparentPassthrough ( bool  flag  )  [inline]

Set transparent passthrough.

Definition at line 139 of file HttpSessionAccept.h.

References f_transparent_passthrough.

Referenced by MakeHttpProxyAcceptor().

HttpSessionAcceptOptions & detail::HttpSessionAcceptOptions::setTransportType ( int  type  )  [inline]

Set the transport type.

Definition at line 107 of file HttpSessionAccept.h.

References transport_type.


Field Documentation

Accepting backdoor connections.

Definition at line 83 of file HttpSessionAccept.h.

Referenced by HttpSessionAccept::accept(), setBackdoor(), and start_HttpProxyServerBackDoor().

Outbound transparent.

Definition at line 75 of file HttpSessionAccept.h.

Referenced by HttpSessionAccept::accept(), MakeHttpProxyAcceptor(), and setOutboundTransparent().

Transparent pass-through.

Definition at line 79 of file HttpSessionAccept.h.

Referenced by HttpSessionAccept::accept(), and setTransparentPassthrough().

Host address resolution preference order.

Definition at line 87 of file HttpSessionAccept.h.

Referenced by HttpSessionAccept::accept(), HttpSessionAcceptOptions(), and setHostResPreference().

Local address to bind for outbound connections.

Definition at line 63 of file HttpSessionAccept.h.

Referenced by HttpSessionAccept::accept(), MakeHttpProxyAcceptor(), and setOutboundIp().

Local address to bind for outbound connections.

Definition at line 65 of file HttpSessionAccept.h.

Referenced by HttpSessionAccept::accept(), MakeHttpProxyAcceptor(), and setOutboundIp().

Local port for outbound connection.

Definition at line 71 of file HttpSessionAccept.h.

Referenced by HttpSessionAccept::accept(), and setOutboundPort().

Acceptable session protocols.

Definition at line 91 of file HttpSessionAccept.h.

Referenced by setSessionProtocolPreference().


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