\hypertarget{classcore_1_1_console_session}{}\doxysection{core\+::Console\+Session Class Reference}
\label{classcore_1_1_console_session}\index{core::ConsoleSession@{core::ConsoleSession}}


{\ttfamily \#include $<$Console\+Session.\+h$>$}



Inheritance diagram for core\+::Console\+Session\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=203pt]{classcore_1_1_console_session__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for core\+::Console\+Session\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcore_1_1_console_session__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classcore_1_1_console_session_ae735e9739fb4cfd2ef983cc56f9982c7}{Console\+Session}} (\mbox{\hyperlink{classcore_1_1_e_poll}{E\+Poll}} \&\mbox{\hyperlink{classcore_1_1_socket_a3b0b139ac7da581f0d969f6ae9a0c97c}{e\+Poll}}, \mbox{\hyperlink{classcore_1_1_t_c_p_server}{T\+C\+P\+Server}} \&\mbox{\hyperlink{classcore_1_1_t_c_p_session_a265d9493fa544e601b5ad5fb1663340c}{server}})
\item 
\mbox{\hyperlink{classcore_1_1_console_session_a3147143b9bdad4bdd99bd4186be4c40b}{$\sim$\+Console\+Session}} ()
\item 
void \mbox{\hyperlink{classcore_1_1_console_session_a6e6b56503966f1cae5bdff8b3814e2b9}{write\+Log}} (std\+::string data)
\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classcore_1_1_console_session_a830cc1e1e0c3fe3b066f0a9f7f469490}{protocol}} (std\+::string data) override
\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{classcore_1_1_console_session}{Console\+Session}}

Extends the session parameters for this \mbox{\hyperlink{classcore_1_1_t_c_p_socket}{T\+C\+P\+Socket}} derived object. Extend the \mbox{\hyperlink{classcore_1_1_console_session_a830cc1e1e0c3fe3b066f0a9f7f469490}{protocol()}} method in order to define the behavior and protocol interaction for this socket which is a console session. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classcore_1_1_console_session_ae735e9739fb4cfd2ef983cc56f9982c7}\label{classcore_1_1_console_session_ae735e9739fb4cfd2ef983cc56f9982c7}} 
\index{core::ConsoleSession@{core::ConsoleSession}!ConsoleSession@{ConsoleSession}}
\index{ConsoleSession@{ConsoleSession}!core::ConsoleSession@{core::ConsoleSession}}
\doxysubsubsection{\texorpdfstring{ConsoleSession()}{ConsoleSession()}}
{\footnotesize\ttfamily core\+::\+Console\+Session\+::\+Console\+Session (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classcore_1_1_e_poll}{E\+Poll}} \&}]{e\+Poll,  }\item[{\mbox{\hyperlink{classcore_1_1_t_c_p_server}{T\+C\+P\+Server}} \&}]{server }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classcore_1_1_console_session_a3147143b9bdad4bdd99bd4186be4c40b}\label{classcore_1_1_console_session_a3147143b9bdad4bdd99bd4186be4c40b}} 
\index{core::ConsoleSession@{core::ConsoleSession}!````~ConsoleSession@{$\sim$ConsoleSession}}
\index{````~ConsoleSession@{$\sim$ConsoleSession}!core::ConsoleSession@{core::ConsoleSession}}
\doxysubsubsection{\texorpdfstring{$\sim$ConsoleSession()}{~ConsoleSession()}}
{\footnotesize\ttfamily core\+::\+Console\+Session\+::$\sim$\+Console\+Session (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classcore_1_1_console_session_a830cc1e1e0c3fe3b066f0a9f7f469490}\label{classcore_1_1_console_session_a830cc1e1e0c3fe3b066f0a9f7f469490}} 
\index{core::ConsoleSession@{core::ConsoleSession}!protocol@{protocol}}
\index{protocol@{protocol}!core::ConsoleSession@{core::ConsoleSession}}
\doxysubsubsection{\texorpdfstring{protocol()}{protocol()}}
{\footnotesize\ttfamily void core\+::\+Console\+Session\+::protocol (\begin{DoxyParamCaption}\item[{std\+::string}]{data = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}

Override the protocol method to manage and control the session communications in your inherited session. If you do not override this method then the Session default will process the \textquotesingle{}commands\textquotesingle{} added to the server object using the process\+Request method on the session input.

When data is received within the session two modes are available to pass the data through the protocol method\+: L\+I\+NE or B\+L\+O\+CK. 

Reimplemented from \mbox{\hyperlink{classcore_1_1_t_c_p_session_ae90dc64e2d3c4b3239117923145edb3f}{core\+::\+T\+C\+P\+Session}}.

\mbox{\Hypertarget{classcore_1_1_console_session_a6e6b56503966f1cae5bdff8b3814e2b9}\label{classcore_1_1_console_session_a6e6b56503966f1cae5bdff8b3814e2b9}} 
\index{core::ConsoleSession@{core::ConsoleSession}!writeLog@{writeLog}}
\index{writeLog@{writeLog}!core::ConsoleSession@{core::ConsoleSession}}
\doxysubsubsection{\texorpdfstring{writeLog()}{writeLog()}}
{\footnotesize\ttfamily void core\+::\+Console\+Session\+::write\+Log (\begin{DoxyParamCaption}\item[{std\+::string}]{data }\end{DoxyParamCaption})}



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_console_session_8h}{Console\+Session.\+h}}\item 
\mbox{\hyperlink{_console_session_8cpp}{Console\+Session.\+cpp}}\end{DoxyCompactItemize}
