\hypertarget{class_b_m_a_t_l_s_server_socket}{}\section{B\+M\+A\+T\+L\+S\+Server\+Socket Class Reference}
\label{class_b_m_a_t_l_s_server_socket}\index{B\+M\+A\+T\+L\+S\+Server\+Socket@{B\+M\+A\+T\+L\+S\+Server\+Socket}}


{\ttfamily \#include $<$B\+M\+A\+T\+L\+S\+Server\+Socket.\+h$>$}



Inheritance diagram for B\+M\+A\+T\+L\+S\+Server\+Socket\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=270pt]{class_b_m_a_t_l_s_server_socket__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for B\+M\+A\+T\+L\+S\+Server\+Socket\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_b_m_a_t_l_s_server_socket__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_b_m_a_t_l_s_server_socket_a6ab5fa0019ca55433e852612a29b13a6}{B\+M\+A\+T\+L\+S\+Server\+Socket} (\hyperlink{class_b_m_a_e_poll}{B\+M\+A\+E\+Poll} \&e\+Poll, std\+::string url, short int port, std\+::string command\+Name)
\item 
\hyperlink{class_b_m_a_t_l_s_server_socket_a075981646f9fdf5966965bbf1c5d9af6}{$\sim$\+B\+M\+A\+T\+L\+S\+Server\+Socket} ()
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_b_m_a_t_l_s_server_socket_aa77f9b2be9d77a0102edd37aa3e9d093}\label{class_b_m_a_t_l_s_server_socket_aa77f9b2be9d77a0102edd37aa3e9d093}} 
S\+S\+L\+\_\+\+C\+TX $\ast$ {\bfseries ctx}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_b_m_a_session}{B\+M\+A\+Session} $\ast$ \hyperlink{class_b_m_a_t_l_s_server_socket_afc1575a34ddd6e40619874b7364fbceb}{get\+Socket\+Accept} () override
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\hyperlink{class_b_m_a_t_l_s_server_socket}{B\+M\+A\+T\+L\+S\+Server\+Socket}

Manage a socket connection as a T\+LS server type. Connections to the socket are processed through the accept functionality. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_b_m_a_t_l_s_server_socket_a6ab5fa0019ca55433e852612a29b13a6}\label{class_b_m_a_t_l_s_server_socket_a6ab5fa0019ca55433e852612a29b13a6}} 
\index{B\+M\+A\+T\+L\+S\+Server\+Socket@{B\+M\+A\+T\+L\+S\+Server\+Socket}!B\+M\+A\+T\+L\+S\+Server\+Socket@{B\+M\+A\+T\+L\+S\+Server\+Socket}}
\index{B\+M\+A\+T\+L\+S\+Server\+Socket@{B\+M\+A\+T\+L\+S\+Server\+Socket}!B\+M\+A\+T\+L\+S\+Server\+Socket@{B\+M\+A\+T\+L\+S\+Server\+Socket}}
\subsubsection{\texorpdfstring{B\+M\+A\+T\+L\+S\+Server\+Socket()}{BMATLSServerSocket()}}
{\footnotesize\ttfamily B\+M\+A\+T\+L\+S\+Server\+Socket\+::\+B\+M\+A\+T\+L\+S\+Server\+Socket (\begin{DoxyParamCaption}\item[{\hyperlink{class_b_m_a_e_poll}{B\+M\+A\+E\+Poll} \&}]{e\+Poll,  }\item[{std\+::string}]{url,  }\item[{short int}]{port,  }\item[{std\+::string}]{command\+Name }\end{DoxyParamCaption})}

The constructor for the B\+M\+A\+T\+L\+S\+Socket object.


\begin{DoxyParams}{Parameters}
{\em e\+Poll} & the \hyperlink{class_b_m_a_e_poll}{B\+M\+A\+E\+Poll} instance that manages the socket. \\
\hline
{\em url} & the IP address for the socket to receive connection requests. \\
\hline
{\em port} & the port number that the socket will listen on. \\
\hline
{\em command\+Name} & the name of the command used to invoke the status display for this object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the instance of the \hyperlink{class_b_m_a_t_l_s_server_socket}{B\+M\+A\+T\+L\+S\+Server\+Socket}. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_b_m_a_t_l_s_server_socket_a075981646f9fdf5966965bbf1c5d9af6}\label{class_b_m_a_t_l_s_server_socket_a075981646f9fdf5966965bbf1c5d9af6}} 
\index{B\+M\+A\+T\+L\+S\+Server\+Socket@{B\+M\+A\+T\+L\+S\+Server\+Socket}!````~B\+M\+A\+T\+L\+S\+Server\+Socket@{$\sim$\+B\+M\+A\+T\+L\+S\+Server\+Socket}}
\index{````~B\+M\+A\+T\+L\+S\+Server\+Socket@{$\sim$\+B\+M\+A\+T\+L\+S\+Server\+Socket}!B\+M\+A\+T\+L\+S\+Server\+Socket@{B\+M\+A\+T\+L\+S\+Server\+Socket}}
\subsubsection{\texorpdfstring{$\sim$\+B\+M\+A\+T\+L\+S\+Server\+Socket()}{~BMATLSServerSocket()}}
{\footnotesize\ttfamily B\+M\+A\+T\+L\+S\+Server\+Socket\+::$\sim$\+B\+M\+A\+T\+L\+S\+Server\+Socket (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

The destructor for this object. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_b_m_a_t_l_s_server_socket_afc1575a34ddd6e40619874b7364fbceb}\label{class_b_m_a_t_l_s_server_socket_afc1575a34ddd6e40619874b7364fbceb}} 
\index{B\+M\+A\+T\+L\+S\+Server\+Socket@{B\+M\+A\+T\+L\+S\+Server\+Socket}!get\+Socket\+Accept@{get\+Socket\+Accept}}
\index{get\+Socket\+Accept@{get\+Socket\+Accept}!B\+M\+A\+T\+L\+S\+Server\+Socket@{B\+M\+A\+T\+L\+S\+Server\+Socket}}
\subsubsection{\texorpdfstring{get\+Socket\+Accept()}{getSocketAccept()}}
{\footnotesize\ttfamily \hyperlink{class_b_m_a_session}{B\+M\+A\+Session} $\ast$ B\+M\+A\+T\+L\+S\+Server\+Socket\+::get\+Socket\+Accept (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}

get\+Socket\+Accept is designed to allow a polymorphic extension of this object to return a type of object that extends the definition of the server socket. Returning the appropriate session object that extends from \hyperlink{class_b_m_a_session}{B\+M\+A\+Session} provides the mechanism where the server can select the protocol dialog for the desired service. 

Implements \hyperlink{class_b_m_a_t_c_p_server_socket_a5eb805883d7a496be0a1cbc81c09c145}{B\+M\+A\+T\+C\+P\+Server\+Socket}.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/B\+M\+A\+T\+L\+S\+Server\+Socket.\+h\item 
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/B\+M\+A\+T\+L\+S\+Server\+Socket.\+cpp\end{DoxyCompactItemize}
