You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
511 lines
25 KiB
511 lines
25 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.7"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Webserv: Master Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">Webserv
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.7 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-attribs">Data Fields</a> |
|
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> </div>
|
|
<div class="headertitle"><div class="title">Master Class Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="Master_8hpp_source.html">Master.hpp</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for Master:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classMaster__coll__graph.png" border="0" usemap="#aMaster_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aMaster_coll__map" id="aMaster_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="13,181,79,207"/>
|
|
<area shape="rect" href="structip__port__s.html" title=" " alt="" coords="5,93,87,119"/>
|
|
<area shape="rect" title=" " alt="" coords="17,5,75,31"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:aa32552c9c965ac5d53d2cb5e65b41b36"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#aa32552c9c965ac5d53d2cb5e65b41b36">Master</a> (<a class="el" href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4">ip_port_t</a> listen)</td></tr>
|
|
<tr class="separator:aa32552c9c965ac5d53d2cb5e65b41b36"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af169284c429812878d318cd2fb009254"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#af169284c429812878d318cd2fb009254">Master</a> (int fd, <a class="el" href="classMaster.html">Master</a> *parent)</td></tr>
|
|
<tr class="separator:af169284c429812878d318cd2fb009254"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa76c335c36c93e8134115733938651df"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#aa76c335c36c93e8134115733938651df">~Master</a> (void)</td></tr>
|
|
<tr class="separator:aa76c335c36c93e8134115733938651df"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa129a09fad260366b16aa04a7de173c2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#aa129a09fad260366b16aa04a7de173c2">pre_select</a> (void)</td></tr>
|
|
<tr class="separator:aa129a09fad260366b16aa04a7de173c2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3ffb0ce7702a04ab7a9ec5dfa1ff6e42"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#a3ffb0ce7702a04ab7a9ec5dfa1ff6e42">post_select</a> (<a class="el" href="classEnv.html">Env</a> *env)</td></tr>
|
|
<tr class="separator:a3ffb0ce7702a04ab7a9ec5dfa1ff6e42"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5486cb0d32ba29cd31b212c3457942b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classServer.html">Server</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#a5486cb0d32ba29cd31b212c3457942b1">choose_server</a> (<a class="el" href="classEnv.html">Env</a> *env, string host)</td></tr>
|
|
<tr class="separator:a5486cb0d32ba29cd31b212c3457942b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
|
Data Fields</h2></td></tr>
|
|
<tr class="memitem:af5432a935125075c1eb03aa9e8c8f894"><td class="memItemLeft" align="right" valign="top"><a class="el" href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4">ip_port_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#af5432a935125075c1eb03aa9e8c8f894">_listen</a></td></tr>
|
|
<tr class="separator:af5432a935125075c1eb03aa9e8c8f894"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-attribs" name="pub-static-attribs"></a>
|
|
Static Public Attributes</h2></td></tr>
|
|
<tr class="memitem:a16a05173b1961ea7fc302319f06716a4"><td class="memItemLeft" align="right" valign="top">static fd_set </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#a16a05173b1961ea7fc302319f06716a4">_readfds</a></td></tr>
|
|
<tr class="separator:a16a05173b1961ea7fc302319f06716a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a40b24ae083809951e7d3e1a08d06fe65"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#a40b24ae083809951e7d3e1a08d06fe65">_max_fd</a> = 0</td></tr>
|
|
<tr class="memdesc:a40b24ae083809951e7d3e1a08d06fe65"><td class="mdescLeft"> </td><td class="mdescRight">< The lower socket fd <br /></td></tr>
|
|
<tr class="separator:a40b24ae083809951e7d3e1a08d06fe65"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6c0dd4e4c7de17dea3de77f28e1de308"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#a6c0dd4e4c7de17dea3de77f28e1de308">_min_fd</a> = INT_MAX</td></tr>
|
|
<tr class="memdesc:a6c0dd4e4c7de17dea3de77f28e1de308"><td class="mdescLeft"> </td><td class="mdescRight">< The sockets fd which will be select <br /></td></tr>
|
|
<tr class="separator:a6c0dd4e4c7de17dea3de77f28e1de308"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2418abd3c0d0e9f4db769335cadd7545"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#a2418abd3c0d0e9f4db769335cadd7545">_amount</a> = 0</td></tr>
|
|
<tr class="memdesc:a2418abd3c0d0e9f4db769335cadd7545"><td class="mdescLeft"> </td><td class="mdescRight">< The higher one <br /></td></tr>
|
|
<tr class="separator:a2418abd3c0d0e9f4db769335cadd7545"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:aee2fccb9a95dd83c89049c86a86ff5f3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#aee2fccb9a95dd83c89049c86a86ff5f3">_fd</a></td></tr>
|
|
<tr class="separator:aee2fccb9a95dd83c89049c86a86ff5f3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af4afc9ab34343b13939139087e280472"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classClient.html">Client</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#af4afc9ab34343b13939139087e280472">_childs</a></td></tr>
|
|
<tr class="separator:af4afc9ab34343b13939139087e280472"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2930920309de02e86050a8facdc83b68"><td class="memItemLeft" align="right" valign="top">struct sockaddr_in </td><td class="memItemRight" valign="bottom"><a class="el" href="classMaster.html#a2930920309de02e86050a8facdc83b68">_address</a></td></tr>
|
|
<tr class="separator:a2930920309de02e86050a8facdc83b68"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock">
|
|
<p class="definition">Definition at line <a class="el" href="Master_8hpp_source.html#l00004">4</a> of file <a class="el" href="Master_8hpp_source.html">Master.hpp</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="aa32552c9c965ac5d53d2cb5e65b41b36" name="aa32552c9c965ac5d53d2cb5e65b41b36"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa32552c9c965ac5d53d2cb5e65b41b36">◆ </a></span>Master() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Master::Master </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4">ip_port_t</a> </td>
|
|
<td class="paramname"><em>listen</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8cpp_source.html#l00025">25</a> of file <a class="el" href="Master_8cpp_source.html">Master.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af169284c429812878d318cd2fb009254" name="af169284c429812878d318cd2fb009254"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af169284c429812878d318cd2fb009254">◆ </a></span>Master() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Master::Master </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>fd</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classMaster.html">Master</a> * </td>
|
|
<td class="paramname"><em>parent</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa76c335c36c93e8134115733938651df" name="aa76c335c36c93e8134115733938651df"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa76c335c36c93e8134115733938651df">◆ </a></span>~Master()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Master::~Master </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8cpp_source.html#l00011">11</a> of file <a class="el" href="Master_8cpp_source.html">Master.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a5486cb0d32ba29cd31b212c3457942b1" name="a5486cb0d32ba29cd31b212c3457942b1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5486cb0d32ba29cd31b212c3457942b1">◆ </a></span>choose_server()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classServer.html">Server</a> * Master::choose_server </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classEnv.html">Env</a> * </td>
|
|
<td class="paramname"><em>env</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>host</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8cpp_source.html#l00113">113</a> of file <a class="el" href="Master_8cpp_source.html">Master.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classMaster_a5486cb0d32ba29cd31b212c3457942b1_cgraph.png" border="0" usemap="#aclassMaster_a5486cb0d32ba29cd31b212c3457942b1_cgraph" alt=""/></div>
|
|
<map name="aclassMaster_a5486cb0d32ba29cd31b212c3457942b1_cgraph" id="aclassMaster_a5486cb0d32ba29cd31b212c3457942b1_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,5,175,31"/>
|
|
<area shape="rect" href="tools_8cpp.html#a4a79e98b5dec14d16875307f7e77dfb3" title=" " alt="" coords="223,5,273,31"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classMaster_a5486cb0d32ba29cd31b212c3457942b1_icgraph.png" border="0" usemap="#aclassMaster_a5486cb0d32ba29cd31b212c3457942b1_icgraph" alt=""/></div>
|
|
<map name="aclassMaster_a5486cb0d32ba29cd31b212c3457942b1_icgraph" id="aclassMaster_a5486cb0d32ba29cd31b212c3457942b1_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="395,5,564,31"/>
|
|
<area shape="rect" href="classClient.html#a3e6860ba08a116dcc3e75d97d91297c7" title=" " alt="" coords="196,5,347,31"/>
|
|
<area shape="rect" href="classClient.html#acbcc94de0dd77b5635b574c9f23acdb8" title=" " alt="" coords="5,5,148,31"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3ffb0ce7702a04ab7a9ec5dfa1ff6e42" name="a3ffb0ce7702a04ab7a9ec5dfa1ff6e42"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3ffb0ce7702a04ab7a9ec5dfa1ff6e42">◆ </a></span>post_select()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void Master::post_select </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classEnv.html">Env</a> * </td>
|
|
<td class="paramname"><em>env</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>< incomming master request</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8cpp_source.html#l00065">65</a> of file <a class="el" href="Master_8cpp_source.html">Master.cpp</a>.</p>
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classMaster_a3ffb0ce7702a04ab7a9ec5dfa1ff6e42_cgraph.png" border="0" usemap="#aclassMaster_a3ffb0ce7702a04ab7a9ec5dfa1ff6e42_cgraph" alt=""/></div>
|
|
<map name="aclassMaster_a3ffb0ce7702a04ab7a9ec5dfa1ff6e42_cgraph" id="aclassMaster_a3ffb0ce7702a04ab7a9ec5dfa1ff6e42_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,5,155,31"/>
|
|
<area shape="rect" href="tools_8cpp.html#a6e7e23c21ae956b6859a6f3ec9793358" title=" " alt="" coords="203,5,309,31"/>
|
|
<area shape="rect" href="tools_8cpp.html#a12c1f1864dfaa4d3ce407320c3877160" title=" " alt="" coords="357,5,425,31"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa129a09fad260366b16aa04a7de173c2" name="aa129a09fad260366b16aa04a7de173c2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa129a09fad260366b16aa04a7de173c2">◆ </a></span>pre_select()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void Master::pre_select </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8cpp_source.html#l00050">50</a> of file <a class="el" href="Master_8cpp_source.html">Master.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Field Documentation</h2>
|
|
<a id="a2930920309de02e86050a8facdc83b68" name="a2930920309de02e86050a8facdc83b68"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2930920309de02e86050a8facdc83b68">◆ </a></span>_address</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">struct sockaddr_in Master::_address</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8hpp_source.html#l00007">7</a> of file <a class="el" href="Master_8hpp_source.html">Master.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2418abd3c0d0e9f4db769335cadd7545" name="a2418abd3c0d0e9f4db769335cadd7545"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2418abd3c0d0e9f4db769335cadd7545">◆ </a></span>_amount</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Master::_amount = 0</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>< The higher one </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8hpp_source.html#l00020">20</a> of file <a class="el" href="Master_8hpp_source.html">Master.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af4afc9ab34343b13939139087e280472" name="af4afc9ab34343b13939139087e280472"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af4afc9ab34343b13939139087e280472">◆ </a></span>_childs</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::vector<<a class="el" href="classClient.html">Client</a> *> Master::_childs</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8hpp_source.html#l00006">6</a> of file <a class="el" href="Master_8hpp_source.html">Master.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aee2fccb9a95dd83c89049c86a86ff5f3" name="aee2fccb9a95dd83c89049c86a86ff5f3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aee2fccb9a95dd83c89049c86a86ff5f3">◆ </a></span>_fd</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Master::_fd</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8hpp_source.html#l00005">5</a> of file <a class="el" href="Master_8hpp_source.html">Master.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af5432a935125075c1eb03aa9e8c8f894" name="af5432a935125075c1eb03aa9e8c8f894"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af5432a935125075c1eb03aa9e8c8f894">◆ </a></span>_listen</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="webserv_8hpp.html#aca8ca4c81e9d413f6c6f1f3dc74906b4">ip_port_t</a> Master::_listen</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8hpp_source.html#l00018">18</a> of file <a class="el" href="Master_8hpp_source.html">Master.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a40b24ae083809951e7d3e1a08d06fe65" name="a40b24ae083809951e7d3e1a08d06fe65"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a40b24ae083809951e7d3e1a08d06fe65">◆ </a></span>_max_fd</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Master::_max_fd = 0</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>< The lower socket fd </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8hpp_source.html#l00020">20</a> of file <a class="el" href="Master_8hpp_source.html">Master.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6c0dd4e4c7de17dea3de77f28e1de308" name="a6c0dd4e4c7de17dea3de77f28e1de308"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6c0dd4e4c7de17dea3de77f28e1de308">◆ </a></span>_min_fd</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Master::_min_fd = INT_MAX</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>< The sockets fd which will be select </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8hpp_source.html#l00020">20</a> of file <a class="el" href="Master_8hpp_source.html">Master.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a16a05173b1961ea7fc302319f06716a4" name="a16a05173b1961ea7fc302319f06716a4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a16a05173b1961ea7fc302319f06716a4">◆ </a></span>_readfds</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">fd_set Master::_readfds</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Master_8hpp_source.html#l00019">19</a> of file <a class="el" href="Master_8hpp_source.html">Master.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>includes/<a class="el" href="Master_8hpp_source.html">Master.hpp</a></li>
|
|
<li>srcs/sock/<a class="el" href="Master_8cpp_source.html">Master.cpp</a></li>
|
|
<li>srcs/<a class="el" href="webserv_8cpp_source.html">webserv.cpp</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7
|
|
</small></address>
|
|
</body>
|
|
</html>
|
|
|