structServer.tex 5.17 KB
\hypertarget{structServer}{
\section{Server Struct Reference}
\label{structServer}\index{Server@{Server}}
}


{\ttfamily \#include $<$server.h$>$}



Collaboration diagram for Server:
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structLogger}{Logger} \hyperlink{structServer_ab50b5b20130564ba7e9a12032070882f}{logger}
\item 
\hyperlink{structSock}{Sock} \hyperlink{structServer_a4cdc9c048a3a1846683fdedc2269c0f8}{sock}
\item 
void $\ast$ \hyperlink{structServer_a241c1cbc117f318453934fa10c2c4a23}{reader}
\item 
nfds\_\-t \hyperlink{structServer_a156e386a6d4c73e6233531706a091fb3}{nfds}
\item 
nfds\_\-t \hyperlink{structServer_a88eb6b108b1d22967076fc1d9e21c4d4}{ndel}
\item 
\begin{tabbing}
xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill
struct \{\\
\>\hyperlink{structSock}{Sock} \hyperlink{structServer_a4cdc9c048a3a1846683fdedc2269c0f8}{sock}\\
\>void $\ast$ \hyperlink{structServer_a241c1cbc117f318453934fa10c2c4a23}{reader}\\
\>char \hyperlink{structServer_a8914561393eb8d570a2cfb5348b6aeb7}{wbuf} \mbox{[}2048\mbox{]}\\
\>char $\ast$ \hyperlink{structServer_a898e067058a6db3a8d5cf3968fc79c8a}{rbuf}\\
\>unsigned int \hyperlink{structServer_af39a8d40450b5c6a947be2c1a95c0943}{rpos}\\
\>unsigned int \hyperlink{structServer_a95e4cdf2ef584a6709f794d58d9190b3}{wpos}\\
\} \hyperlink{structServer_a269c01ae6736206cdd9a5e1d5ad2398b}{conns} \mbox{[}POLL\_FD\_NSIZE\mbox{]}\\

\end{tabbing}\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 24 of file server.h.



\subsection{Member Data Documentation}
\hypertarget{structServer_a269c01ae6736206cdd9a5e1d5ad2398b}{
\index{Server@{Server}!conns@{conns}}
\index{conns@{conns}!Server@{Server}}
\subsubsection[{conns}]{\setlength{\rightskip}{0pt plus 5cm}struct \{ ... \}   {\bf Server::conns}\mbox{[}POLL\_\-FD\_\-NSIZE\mbox{]}}}
\label{structServer_a269c01ae6736206cdd9a5e1d5ad2398b}
\hypertarget{structServer_ab50b5b20130564ba7e9a12032070882f}{
\index{Server@{Server}!logger@{logger}}
\index{logger@{logger}!Server@{Server}}
\subsubsection[{logger}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Logger} {\bf Server::logger}}}
\label{structServer_ab50b5b20130564ba7e9a12032070882f}


Definition at line 60 of file server.h.

\hypertarget{structServer_a88eb6b108b1d22967076fc1d9e21c4d4}{
\index{Server@{Server}!ndel@{ndel}}
\index{ndel@{ndel}!Server@{Server}}
\subsubsection[{ndel}]{\setlength{\rightskip}{0pt plus 5cm}nfds\_\-t {\bf Server::ndel}}}
\label{structServer_a88eb6b108b1d22967076fc1d9e21c4d4}


Definition at line 73 of file server.h.

\hypertarget{structServer_a156e386a6d4c73e6233531706a091fb3}{
\index{Server@{Server}!nfds@{nfds}}
\index{nfds@{nfds}!Server@{Server}}
\subsubsection[{nfds}]{\setlength{\rightskip}{0pt plus 5cm}nfds\_\-t {\bf Server::nfds}}}
\label{structServer_a156e386a6d4c73e6233531706a091fb3}
loeschen: fds\mbox{[}i\mbox{]}.event auf 0 dann nfds um die anzahl der geloeschten elemente verkleinern. die in close pending stehenden socket schliessen. vor jedem poll qsort auf fds ueber event. nach dem poll qsort auf fds ueber revent und reuckgebewert von poll beruecksichtigen. 

Definition at line 72 of file server.h.

\hypertarget{structServer_a898e067058a6db3a8d5cf3968fc79c8a}{
\index{Server@{Server}!rbuf@{rbuf}}
\index{rbuf@{rbuf}!Server@{Server}}
\subsubsection[{rbuf}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ {\bf Server::rbuf}}}
\label{structServer_a898e067058a6db3a8d5cf3968fc79c8a}


Definition at line 81 of file server.h.

\hypertarget{structServer_a241c1cbc117f318453934fa10c2c4a23}{
\index{Server@{Server}!reader@{reader}}
\index{reader@{reader}!Server@{Server}}
\subsubsection[{reader}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf Server::reader}}}
\label{structServer_a241c1cbc117f318453934fa10c2c4a23}


Definition at line 62 of file server.h.

\hypertarget{structServer_af39a8d40450b5c6a947be2c1a95c0943}{
\index{Server@{Server}!rpos@{rpos}}
\index{rpos@{rpos}!Server@{Server}}
\subsubsection[{rpos}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf Server::rpos}}}
\label{structServer_af39a8d40450b5c6a947be2c1a95c0943}


Definition at line 82 of file server.h.

\hypertarget{structServer_a4cdc9c048a3a1846683fdedc2269c0f8}{
\index{Server@{Server}!sock@{sock}}
\index{sock@{sock}!Server@{Server}}
\subsubsection[{sock}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sock} {\bf Server::sock}}}
\label{structServer_a4cdc9c048a3a1846683fdedc2269c0f8}


Definition at line 61 of file server.h.

\hypertarget{structServer_a8914561393eb8d570a2cfb5348b6aeb7}{
\index{Server@{Server}!wbuf@{wbuf}}
\index{wbuf@{wbuf}!Server@{Server}}
\subsubsection[{wbuf}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf Server::wbuf}\mbox{[}2048\mbox{]}}}
\label{structServer_a8914561393eb8d570a2cfb5348b6aeb7}


Definition at line 80 of file server.h.

\hypertarget{structServer_a95e4cdf2ef584a6709f794d58d9190b3}{
\index{Server@{Server}!wpos@{wpos}}
\index{wpos@{wpos}!Server@{Server}}
\subsubsection[{wpos}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf Server::wpos}}}
\label{structServer_a95e4cdf2ef584a6709f794d58d9190b3}


Definition at line 83 of file server.h.



The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize}
\item 
include/\hyperlink{server_8h}{server.h}\end{DoxyCompactItemize}