\hypertarget{class_b_m_a_t_l_s_session}{}\section{B\+M\+A\+T\+L\+S\+Session Class Reference}
\label{class_b_m_a_t_l_s_session}\index{B\+M\+A\+T\+L\+S\+Session@{B\+M\+A\+T\+L\+S\+Session}}


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



Inheritance diagram for B\+M\+A\+T\+L\+S\+Session\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=246pt]{class_b_m_a_t_l_s_session__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for B\+M\+A\+T\+L\+S\+Session\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_b_m_a_t_l_s_session__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_b_m_a_t_l_s_session_af3b4918997bd08fc447be18dfa5a4e98}\label{class_b_m_a_t_l_s_session_af3b4918997bd08fc447be18dfa5a4e98}} 
{\bfseries B\+M\+A\+T\+L\+S\+Session} (\hyperlink{class_b_m_a_e_poll}{B\+M\+A\+E\+Poll} \&e\+Poll, \hyperlink{class_b_m_a_t_l_s_server_socket}{B\+M\+A\+T\+L\+S\+Server\+Socket} \&server)
\item 
virtual void \hyperlink{class_b_m_a_t_l_s_session_a22b316a3fbdf9966daa6feb6a6a6a285}{output} (std\+::stringstream \&out)
\item 
\mbox{\Hypertarget{class_b_m_a_t_l_s_session_af35112dd4eabd0522006e50bec70be19}\label{class_b_m_a_t_l_s_session_af35112dd4eabd0522006e50bec70be19}} 
virtual void {\bfseries protocol} (std\+::string data) override
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_b_m_a_t_l_s_session_a864bdf678a98681db9aa603cd5453d39}\label{class_b_m_a_t_l_s_session_a864bdf678a98681db9aa603cd5453d39}} 
void {\bfseries init} () override
\item 
void \hyperlink{class_b_m_a_t_l_s_session_a052f9cb7df568a91ae2dc8d9e355afb5}{receive\+Data} (char $\ast$buffer, int buffer\+Length) override
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\hyperlink{class_b_m_a_t_l_s_session}{B\+M\+A\+T\+L\+S\+Session}

Provides a network T\+LS socket.

For accessing T\+LS network functions use this object. The connection oriented nature of T\+LS provides a single client persistent connection with data error correction and a durable synchronous data connection. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_b_m_a_t_l_s_session_a22b316a3fbdf9966daa6feb6a6a6a285}\label{class_b_m_a_t_l_s_session_a22b316a3fbdf9966daa6feb6a6a6a285}} 
\index{B\+M\+A\+T\+L\+S\+Session@{B\+M\+A\+T\+L\+S\+Session}!output@{output}}
\index{output@{output}!B\+M\+A\+T\+L\+S\+Session@{B\+M\+A\+T\+L\+S\+Session}}
\subsubsection{\texorpdfstring{output()}{output()}}
{\footnotesize\ttfamily void B\+M\+A\+T\+L\+S\+Session\+::output (\begin{DoxyParamCaption}\item[{std\+::stringstream \&}]{out }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

The output method is called by a socket session (\hyperlink{class_b_m_a_session}{B\+M\+A\+Session}) and will output the detail information for the client socket. When extending B\+M\+A\+T\+L\+S\+Socket or \hyperlink{class_b_m_a_session}{B\+M\+A\+Session} you can override the method to add attributes to the list. 

Reimplemented from \hyperlink{class_b_m_a_t_c_p_socket_a017112b916d42b9e86b39da747c364c1}{B\+M\+A\+T\+C\+P\+Socket}.

\mbox{\Hypertarget{class_b_m_a_t_l_s_session_a052f9cb7df568a91ae2dc8d9e355afb5}\label{class_b_m_a_t_l_s_session_a052f9cb7df568a91ae2dc8d9e355afb5}} 
\index{B\+M\+A\+T\+L\+S\+Session@{B\+M\+A\+T\+L\+S\+Session}!receive\+Data@{receive\+Data}}
\index{receive\+Data@{receive\+Data}!B\+M\+A\+T\+L\+S\+Session@{B\+M\+A\+T\+L\+S\+Session}}
\subsubsection{\texorpdfstring{receive\+Data()}{receiveData()}}
{\footnotesize\ttfamily void B\+M\+A\+T\+L\+S\+Session\+::receive\+Data (\begin{DoxyParamCaption}\item[{char $\ast$}]{buffer,  }\item[{int}]{buffer\+Length }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}

receive\+Data will read the data from the socket and place it in the socket buffer. T\+LS layer overrides this to be able to read from S\+SL. 

Reimplemented from \hyperlink{class_b_m_a_socket_aa0b03fb4b5a531fd9590bbd4102756eb}{B\+M\+A\+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\+Session.\+h\item 
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/B\+M\+A\+T\+L\+S\+Session.\+cpp\end{DoxyCompactItemize}
