Continued restructing.

This commit is contained in:
barant committed 2019-09-13 09:16:55 -07:00
1 parent 5e5e626d28
commit a46db126e9
294 files changed
+2455 -2189

No files matched your search

+2 -5
View File
@@ -3,15 +3,12 @@ Here are the classes, structs, unions and interfaces with brief descriptions\+:\
\item\contentsline{section}{\hyperlink{classcore_1_1_command}{core\+::\+Command} }{\pageref{classcore_1_1_command}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_command_list}{core\+::\+Command\+List} }{\pageref{classcore_1_1_command_list}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_console_server}{core\+::\+Console\+Server} }{\pageref{classcore_1_1_console_server}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_console_service}{core\+::\+Console\+Service} }{\pageref{classcore_1_1_console_service}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_console_session}{core\+::\+Console\+Session} }{\pageref{classcore_1_1_console_session}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_e_poll}{core\+::\+E\+Poll} }{\pageref{classcore_1_1_e_poll}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_exception}{core\+::\+Exception} }{\pageref{classcore_1_1_exception}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_file}{core\+::\+File} }{\pageref{classcore_1_1_file}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_header}{core\+::\+Header} }{\pageref{classcore_1_1_header}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_i_p_address}{core\+::\+I\+P\+Address} }{\pageref{classcore_1_1_i_p_address}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_log}{core\+::\+Log} }{\pageref{classcore_1_1_log}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_i_p_address_list}{core\+::\+I\+P\+Address\+List} }{\pageref{classcore_1_1_i_p_address_list}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_object}{core\+::\+Object} }{\pageref{classcore_1_1_object}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_response}{core\+::\+Response} }{\pageref{classcore_1_1_response}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_service}{core\+::\+Service} }{\pageref{classcore_1_1_service}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_session}{core\+::\+Session} }{\pageref{classcore_1_1_session}}{}
\item\contentsline{section}{\hyperlink{classcore_1_1_session_filter}{core\+::\+Session\+Filter} }{\pageref{classcore_1_1_session_filter}}{}
+11 -9
View File
@@ -6,7 +6,8 @@
Inheritance diagram for core\+:\+:Command\+:\nopagebreak
Inheritance diagram for core\+:\+:Command\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -15,7 +16,8 @@ Inheritance diagram for core\+:\+:Command\+:\nopagebreak
\end{figure}
Collaboration diagram for core\+:\+:Command\+:\nopagebreak
Collaboration diagram for core\+:\+:Command\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -27,7 +29,7 @@ Collaboration diagram for core\+:\+:Command\+:\nopagebreak
\item
virtual bool \hyperlink{classcore_1_1_command_abdc0d7a4693a7f7940bbae20c4a667c0}{check} (std\+::string request)
\item
virtual int \hyperlink{classcore_1_1_command_a0b7ae77ea83e463193c52b2c502b7c56}{process\+Command} (std\+::string request, \hyperlink{classcore_1_1_session}{Session} $\ast$session)=0
virtual int \hyperlink{classcore_1_1_command_ab4a70ec0e419038d9cb2ea14573b7bb6}{process\+Command} (std\+::string request, \hyperlink{classcore_1_1_session}{Session} $\ast$session, std\+::stringstream \&data)
\item
virtual void \hyperlink{classcore_1_1_command_a314aef05f78aacb802097f8ae0875291}{output} (\hyperlink{classcore_1_1_session}{Session} $\ast$session)
\item
@@ -78,13 +80,13 @@ Specify the output that will occur to the specified session.
\end{DoxyParams}
Reimplemented in \hyperlink{classcore_1_1_console_server_a8c2cd23829acd76b76bef60c098eabe3}{core\+::\+Console\+Server}.
Reimplemented in \hyperlink{classcore_1_1_service_abb28d7ff0f12109e582e6b9adf37f833}{core\+::\+Service}.
\mbox{\Hypertarget{classcore_1_1_command_a0b7ae77ea83e463193c52b2c502b7c56}\label{classcore_1_1_command_a0b7ae77ea83e463193c52b2c502b7c56}}
\mbox{\Hypertarget{classcore_1_1_command_ab4a70ec0e419038d9cb2ea14573b7bb6}\label{classcore_1_1_command_ab4a70ec0e419038d9cb2ea14573b7bb6}}
\index{core\+::\+Command@{core\+::\+Command}!process\+Command@{process\+Command}}
\index{process\+Command@{process\+Command}!core\+::\+Command@{core\+::\+Command}}
\subsubsection{\texorpdfstring{process\+Command()}{processCommand()}}
{\footnotesize\ttfamily virtual int core\+::\+Command\+::process\+Command (\begin{DoxyParamCaption}\item[{std\+::string}]{request, }\item[{\hyperlink{classcore_1_1_session}{Session} $\ast$}]{session }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}
{\footnotesize\ttfamily int core\+::\+Command\+::process\+Command (\begin{DoxyParamCaption}\item[{std\+::string}]{request, }\item[{\hyperlink{classcore_1_1_session}{Session} $\ast$}]{session, }\item[{std\+::stringstream \&}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
This method is used to implement the functionality of the requested command. This pure virtual function must be implemented in your inheriting object.
@@ -100,7 +102,7 @@ Returns 0 if execution of the command was successful. Otherwise returns a non-\/
\end{DoxyReturn}
Implemented in \hyperlink{classcore_1_1_e_poll_a9e737b3cc07835cdcef0845fc748aa63}{core\+::\+E\+Poll}, \hyperlink{classcore_1_1_t_c_p_server_socket_ae8a5a29ab10c86b85e709cc9ecfc99e5}{core\+::\+T\+C\+P\+Server\+Socket}, and \hyperlink{classcore_1_1_command_list_a53e02bf38c40ac851bad6e1b943316da}{core\+::\+Command\+List}.
Reimplemented in \hyperlink{classcore_1_1_e_poll_a49402a420f84c5465c1999da4a78799f}{core\+::\+E\+Poll}, \hyperlink{classcore_1_1_t_c_p_server_socket_a0433eea0645d32bb3d28e1ed782a6bdb}{core\+::\+T\+C\+P\+Server\+Socket}, and \hyperlink{classcore_1_1_command_list_a0e15a9fe0a156efe8eb0a03e4245c228}{core\+::\+Command\+List}.
\mbox{\Hypertarget{classcore_1_1_command_ad8b0321c64838f4d5c8f93461b97cfef}\label{classcore_1_1_command_ad8b0321c64838f4d5c8f93461b97cfef}}
\index{core\+::\+Command@{core\+::\+Command}!set\+Name@{set\+Name}}
@@ -119,5 +121,5 @@ Set the name of this command used in default rule checking during request parsin
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Command.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Command.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Command.\+h\item
/home/bradarant/barant/\+Server\+Core/Command.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
bed67932de10285ad02f3e59441e88fc
04df2b0abc950dd43c81f312cb9e79a5
Binary file not shown.
@@ -1 +1 @@
423497738057f80307b66a1ce9df7c8f
95fd3a0e55340a9381c52d10f59b9049
Binary file not shown.
+14 -8
View File
@@ -34,10 +34,16 @@ void \hyperlink{classcore_1_1_command_list_a7a45e75e3d21a25fd3f7e887acf395e9}{ad
\mbox{\Hypertarget{classcore_1_1_command_list_aaac684effb9ecf5238d23ca60d3fffaa}\label{classcore_1_1_command_list_aaac684effb9ecf5238d23ca60d3fffaa}}
void {\bfseries remove} (\hyperlink{classcore_1_1_command}{Command} \&command)
\item
\mbox{\Hypertarget{classcore_1_1_command_list_a4052c642e3ffbf339d0a2e3bdd94cb43}\label{classcore_1_1_command_list_a4052c642e3ffbf339d0a2e3bdd94cb43}}
bool {\bfseries process\+Request} (std\+::string request, \hyperlink{classcore_1_1_session}{Session} $\ast$session)
\mbox{\Hypertarget{classcore_1_1_command_list_ac228423ab52b2b713167d6463e917871}\label{classcore_1_1_command_list_ac228423ab52b2b713167d6463e917871}}
bool {\bfseries process\+Request} (std\+::string request, \hyperlink{classcore_1_1_session}{Session} $\ast$session, std\+::stringstream \&data)
\item
int \hyperlink{classcore_1_1_command_list_a53e02bf38c40ac851bad6e1b943316da}{process\+Command} (std\+::string request, \hyperlink{classcore_1_1_session}{Session} $\ast$session) override
int \hyperlink{classcore_1_1_command_list_a0e15a9fe0a156efe8eb0a03e4245c228}{process\+Command} (std\+::string request, \hyperlink{classcore_1_1_session}{Session} $\ast$session, std\+::stringstream \&data) override
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classcore_1_1_command_list_a435f09d15c78dad43e7bca4977d6bdf1}\label{classcore_1_1_command_list_a435f09d15c78dad43e7bca4977d6bdf1}}
std\+::vector$<$ \hyperlink{classcore_1_1_command}{Command} $\ast$ $>$ {\bfseries commands}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
@@ -69,11 +75,11 @@ The destructor for the object.
\subsubsection{\texorpdfstring{add()}{add()}}
{\footnotesize\ttfamily void core\+::\+Command\+List\+::add (\begin{DoxyParamCaption}\item[{\hyperlink{classcore_1_1_command}{Command} \&}]{command, }\item[{std\+::string}]{name = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})}
Add a new command to the command list and assign a default search value. \mbox{\Hypertarget{classcore_1_1_command_list_a53e02bf38c40ac851bad6e1b943316da}\label{classcore_1_1_command_list_a53e02bf38c40ac851bad6e1b943316da}}
Add a new command to the command list and assign a default search value. \mbox{\Hypertarget{classcore_1_1_command_list_a0e15a9fe0a156efe8eb0a03e4245c228}\label{classcore_1_1_command_list_a0e15a9fe0a156efe8eb0a03e4245c228}}
\index{core\+::\+Command\+List@{core\+::\+Command\+List}!process\+Command@{process\+Command}}
\index{process\+Command@{process\+Command}!core\+::\+Command\+List@{core\+::\+Command\+List}}
\subsubsection{\texorpdfstring{process\+Command()}{processCommand()}}
{\footnotesize\ttfamily int core\+::\+Command\+List\+::process\+Command (\begin{DoxyParamCaption}\item[{std\+::string}]{request, }\item[{\hyperlink{classcore_1_1_session}{Session} $\ast$}]{session }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}
{\footnotesize\ttfamily int core\+::\+Command\+List\+::process\+Command (\begin{DoxyParamCaption}\item[{std\+::string}]{request, }\item[{\hyperlink{classcore_1_1_session}{Session} $\ast$}]{session, }\item[{std\+::stringstream \&}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}
This method is used to implement the functionality of the requested command. This pure virtual function must be implemented in your inheriting object.
@@ -89,11 +95,11 @@ Returns 0 if execution of the command was successful. Otherwise returns a non-\/
\end{DoxyReturn}
Implements \hyperlink{classcore_1_1_command_a0b7ae77ea83e463193c52b2c502b7c56}{core\+::\+Command}.
Reimplemented from \hyperlink{classcore_1_1_command_ab4a70ec0e419038d9cb2ea14573b7bb6}{core\+::\+Command}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Command\+List.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Command\+List.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Command\+List.\+h\item
/home/bradarant/barant/\+Server\+Core/Command\+List.\+cpp\end{DoxyCompactItemize}
+11 -30
View File
@@ -2,16 +2,18 @@
\label{classcore_1_1_console_server}\index{core\+::\+Console\+Server@{core\+::\+Console\+Server}}
Inheritance diagram for core\+:\+:Console\+Server\+:\nopagebreak
Inheritance diagram for core\+:\+:Console\+Server\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=276pt]{classcore_1_1_console_server__inherit__graph}
\includegraphics[width=350pt]{classcore_1_1_console_server__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for core\+:\+:Console\+Server\+:\nopagebreak
Collaboration diagram for core\+:\+:Console\+Server\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -21,37 +23,16 @@ Collaboration diagram for core\+:\+:Console\+Server\+:\nopagebreak
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classcore_1_1_console_server_a755d93365110c9c616d431af7876dcf3}\label{classcore_1_1_console_server_a755d93365110c9c616d431af7876dcf3}}
{\bfseries Console\+Server} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&e\+Poll, \hyperlink{classcore_1_1_service}{Service} service, \hyperlink{classcore_1_1_i_p_address}{I\+P\+Address} address)
\mbox{\Hypertarget{classcore_1_1_console_server_aac7f6d4833f74f77a61c49253b2b2059}\label{classcore_1_1_console_server_aac7f6d4833f74f77a61c49253b2b2059}}
{\bfseries Console\+Server} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&e\+Poll, \hyperlink{classcore_1_1_service}{Service} \&\hyperlink{classcore_1_1_t_c_p_server_socket_a6506607f9b55337ed3ecaffe226cd099}{service}, \hyperlink{classcore_1_1_i_p_address}{I\+P\+Address} address)
\item
\mbox{\Hypertarget{classcore_1_1_console_server_a70d21149bdc69d61a9a05ca34c0e2751}\label{classcore_1_1_console_server_a70d21149bdc69d61a9a05ca34c0e2751}}
void {\bfseries send\+To\+Connected\+Consoles} (std\+::string out)
\item
\mbox{\Hypertarget{classcore_1_1_console_server_a8c2cd23829acd76b76bef60c098eabe3}\label{classcore_1_1_console_server_a8c2cd23829acd76b76bef60c098eabe3}}
void \hyperlink{classcore_1_1_console_server_a8c2cd23829acd76b76bef60c098eabe3}{output} (\hyperlink{classcore_1_1_session}{Session} $\ast$session) override
\begin{DoxyCompactList}\small\item\em Output the consoles array to the console. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classcore_1_1_session}{Session} $\ast$ \hyperlink{classcore_1_1_console_server_ac1d498a7094fe69acc7b234efa296b1c}{get\+Socket\+Accept} () override
\mbox{\Hypertarget{classcore_1_1_console_server_ace482706881fd6cbec4e01534c091391}\label{classcore_1_1_console_server_ace482706881fd6cbec4e01534c091391}}
void {\bfseries log\+Send} (std\+::string out) override
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Member Function Documentation}
\mbox{\Hypertarget{classcore_1_1_console_server_ac1d498a7094fe69acc7b234efa296b1c}\label{classcore_1_1_console_server_ac1d498a7094fe69acc7b234efa296b1c}}
\index{core\+::\+Console\+Server@{core\+::\+Console\+Server}!get\+Socket\+Accept@{get\+Socket\+Accept}}
\index{get\+Socket\+Accept@{get\+Socket\+Accept}!core\+::\+Console\+Server@{core\+::\+Console\+Server}}
\subsubsection{\texorpdfstring{get\+Socket\+Accept()}{getSocketAccept()}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_session}{Session} $\ast$ core\+::\+Console\+Server\+::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 B\+M\+A\+Session provides the mechanism where the server can select the protocol dialog for the desired service.
Reimplemented from \hyperlink{classcore_1_1_t_c_p_server_socket_aafd7cefcecbcb32a22dfde86fcfeab63}{core\+::\+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/Console\+Server.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Console\+Server.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Console\+Server.\+h\item
/home/bradarant/barant/\+Server\+Core/Console\+Server.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
7e914ebb069162af34a3c82d92293701
f9db3e90e0d1f5ff6768315f94ffcc58
@@ -1 +1 @@
b8f626b012e95f47c01033f89a13c6b3
c7741a8cdf5844d8da2bed56e24c7a9d
@@ -0,0 +1,47 @@
\hypertarget{classcore_1_1_console_service}{}\section{core\+:\+:Console\+Service Class Reference}
\label{classcore_1_1_console_service}\index{core\+::\+Console\+Service@{core\+::\+Console\+Service}}
Inheritance diagram for core\+:\+:Console\+Service\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=190pt]{classcore_1_1_console_service__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for core\+:\+:Console\+Service\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=249pt]{classcore_1_1_console_service__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classcore_1_1_session}{Session} $\ast$ \hyperlink{classcore_1_1_console_service_a635816dc132cc76e019321e32095d56d}{get\+Socket\+Accept} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&e\+Poll) override
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
\subsection{Member Function Documentation}
\mbox{\Hypertarget{classcore_1_1_console_service_a635816dc132cc76e019321e32095d56d}\label{classcore_1_1_console_service_a635816dc132cc76e019321e32095d56d}}
\index{core\+::\+Console\+Service@{core\+::\+Console\+Service}!get\+Socket\+Accept@{get\+Socket\+Accept}}
\index{get\+Socket\+Accept@{get\+Socket\+Accept}!core\+::\+Console\+Service@{core\+::\+Console\+Service}}
\subsubsection{\texorpdfstring{get\+Socket\+Accept()}{getSocketAccept()}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_session}{Session} $\ast$ core\+::\+Console\+Service\+::get\+Socket\+Accept (\begin{DoxyParamCaption}\item[{\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&}]{epoll }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\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{classcore_1_1_session}{Session} provides the mechanism where the server can select the protocol dialog for the desired service.
Reimplemented from \hyperlink{classcore_1_1_service_aeeb0ef12a87998f5fc429b22ffb233da}{core\+::\+Service}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/bradarant/barant/\+Server\+Core/Console\+Service.\+h\item
/home/bradarant/barant/\+Server\+Core/Console\+Service.\+cpp\end{DoxyCompactItemize}
@@ -0,0 +1 @@
0727f0c5db197664138d86fb062f3b6e
@@ -0,0 +1 @@
41856b9d6510c31f24ad8c8af9035d59
+4 -15
View File
@@ -15,7 +15,8 @@ Inheritance diagram for core\+:\+:Console\+Session\+:\nopagebreak
\end{figure}
Collaboration diagram for core\+:\+:Console\+Session\+:\nopagebreak
Collaboration diagram for core\+:\+:Console\+Session\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -28,8 +29,6 @@ Collaboration diagram for core\+:\+:Console\+Session\+:\nopagebreak
\mbox{\Hypertarget{classcore_1_1_console_session_a236d8ef395d909acb0d5716cce5fff94}\label{classcore_1_1_console_session_a236d8ef395d909acb0d5716cce5fff94}}
{\bfseries Console\+Session} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&e\+Poll, \hyperlink{classcore_1_1_service}{Service} \&service)
\item
virtual void \hyperlink{classcore_1_1_console_session_add592c8b803af65d25f83f7fa4a70078}{output} (std\+::stringstream \&out)
\item
\mbox{\Hypertarget{classcore_1_1_console_session_a6e6b56503966f1cae5bdff8b3814e2b9}\label{classcore_1_1_console_session_a6e6b56503966f1cae5bdff8b3814e2b9}}
void {\bfseries write\+Log} (std\+::string data)
\end{DoxyCompactItemize}
@@ -47,16 +46,6 @@ void \hyperlink{classcore_1_1_console_session_a830cc1e1e0c3fe3b066f0a9f7f469490}
Extends the session parameters for this \hyperlink{classcore_1_1_t_c_p_socket}{T\+C\+P\+Socket} derived object. Extend the \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.
\subsection{Member Function Documentation}
\mbox{\Hypertarget{classcore_1_1_console_session_add592c8b803af65d25f83f7fa4a70078}\label{classcore_1_1_console_session_add592c8b803af65d25f83f7fa4a70078}}
\index{core\+::\+Console\+Session@{core\+::\+Console\+Session}!output@{output}}
\index{output@{output}!core\+::\+Console\+Session@{core\+::\+Console\+Session}}
\subsubsection{\texorpdfstring{output()}{output()}}
{\footnotesize\ttfamily void core\+::\+Console\+Session\+::output (\begin{DoxyParamCaption}\item[{std\+::stringstream \&}]{out }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
The output method is called by a socket session (B\+M\+A\+Session) and will output the detail information for the client socket. When extending B\+M\+A\+T\+C\+P\+Socket or B\+M\+A\+Session you can override the method to add attributes to the list.
Reimplemented from \hyperlink{classcore_1_1_t_c_p_socket_afacf7528ff3c9ac077d7b5a49e2116fd}{core\+::\+T\+C\+P\+Socket}.
\mbox{\Hypertarget{classcore_1_1_console_session_a830cc1e1e0c3fe3b066f0a9f7f469490}\label{classcore_1_1_console_session_a830cc1e1e0c3fe3b066f0a9f7f469490}}
\index{core\+::\+Console\+Session@{core\+::\+Console\+Session}!protocol@{protocol}}
\index{protocol@{protocol}!core\+::\+Console\+Session@{core\+::\+Console\+Session}}
@@ -71,5 +60,5 @@ Reimplemented from \hyperlink{classcore_1_1_session_a35b030a36e9e6c72cb4c643519e
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Console\+Session.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Console\+Session.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Console\+Session.\+h\item
/home/bradarant/barant/\+Server\+Core/Console\+Session.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
c01799d4e6b6aba1c04c0fc5315f4510
6a51891506608079a0babcb168777d73
+7 -7
View File
@@ -43,7 +43,7 @@ int \hyperlink{classcore_1_1_e_poll_a1e52017e1deae15c1c87c6b6a099e1ed}{get\+Desc
\begin{DoxyCompactList}\small\item\em Return the descriptor for the e\+Poll socket. \end{DoxyCompactList}\item
void \hyperlink{classcore_1_1_e_poll_a3238b150b5d0a57eb2e1b17daa236d3b}{event\+Received} (struct epoll\+\_\+event event)
\begin{DoxyCompactList}\small\item\em Dispatch event to appropriate socket. \end{DoxyCompactList}\item
int \hyperlink{classcore_1_1_e_poll_a9e737b3cc07835cdcef0845fc748aa63}{process\+Command} (std\+::string command, \hyperlink{classcore_1_1_session}{Session} $\ast$session) override
int \hyperlink{classcore_1_1_e_poll_a49402a420f84c5465c1999da4a78799f}{process\+Command} (std\+::string command, \hyperlink{classcore_1_1_session}{Session} $\ast$session, std\+::stringstream \&data) override
\begin{DoxyCompactList}\small\item\em Output the threads array to the console. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
@@ -111,17 +111,17 @@ Use this method to obtain the current descriptor socket number for the epoll fun
Returns a true if the stop command has been requested.
This method returns a true if the \hyperlink{classcore_1_1_e_poll_a0c2865acd31d14fbf19dbc42cc084ddc}{stop()} method has been called and the epoll system is shutting. \mbox{\Hypertarget{classcore_1_1_e_poll_a9e737b3cc07835cdcef0845fc748aa63}\label{classcore_1_1_e_poll_a9e737b3cc07835cdcef0845fc748aa63}}
This method returns a true if the \hyperlink{classcore_1_1_e_poll_a0c2865acd31d14fbf19dbc42cc084ddc}{stop()} method has been called and the epoll system is shutting. \mbox{\Hypertarget{classcore_1_1_e_poll_a49402a420f84c5465c1999da4a78799f}\label{classcore_1_1_e_poll_a49402a420f84c5465c1999da4a78799f}}
\index{core\+::\+E\+Poll@{core\+::\+E\+Poll}!process\+Command@{process\+Command}}
\index{process\+Command@{process\+Command}!core\+::\+E\+Poll@{core\+::\+E\+Poll}}
\subsubsection{\texorpdfstring{process\+Command()}{processCommand()}}
{\footnotesize\ttfamily int core\+::\+E\+Poll\+::process\+Command (\begin{DoxyParamCaption}\item[{std\+::string}]{command, }\item[{\hyperlink{classcore_1_1_session}{Session} $\ast$}]{session }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}
{\footnotesize\ttfamily int core\+::\+E\+Poll\+::process\+Command (\begin{DoxyParamCaption}\item[{std\+::string}]{command, }\item[{\hyperlink{classcore_1_1_session}{Session} $\ast$}]{session, }\item[{std\+::stringstream \&}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}
Output the threads array to the console.
The \hyperlink{classcore_1_1_e_poll_a9e737b3cc07835cdcef0845fc748aa63}{process\+Command()} method displays the thread array to the requesting console via the session passed as parameter.
The \hyperlink{classcore_1_1_e_poll_a49402a420f84c5465c1999da4a78799f}{process\+Command()} method displays the thread array to the requesting console via the session passed as parameter.
\begin{DoxyParams}{Parameters}
@@ -130,7 +130,7 @@ The \hyperlink{classcore_1_1_e_poll_a9e737b3cc07835cdcef0845fc748aa63}{process\+
\end{DoxyParams}
Implements \hyperlink{classcore_1_1_command_a0b7ae77ea83e463193c52b2c502b7c56}{core\+::\+Command}.
Reimplemented from \hyperlink{classcore_1_1_command_ab4a70ec0e419038d9cb2ea14573b7bb6}{core\+::\+Command}.
\mbox{\Hypertarget{classcore_1_1_e_poll_a3d813c7bbf0da70ebc8e3cb6aeeacfb4}\label{classcore_1_1_e_poll_a3d813c7bbf0da70ebc8e3cb6aeeacfb4}}
\index{core\+::\+E\+Poll@{core\+::\+E\+Poll}!register\+Socket@{register\+Socket}}
@@ -220,5 +220,5 @@ The maximum number of sockets that can be managed by the epoll system.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/E\+Poll.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/E\+Poll.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/E\+Poll.\+h\item
/home/bradarant/barant/\+Server\+Core/E\+Poll.\+cpp\end{DoxyCompactItemize}
+2 -2
View File
@@ -28,5 +28,5 @@ int {\bfseries error\+Number}
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Exception.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Exception.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Exception.\+h\item
/home/bradarant/barant/\+Server\+Core/Exception.\+cpp\end{DoxyCompactItemize}
+2 -2
View File
@@ -31,5 +31,5 @@ std\+::string {\bfseries file\+Name}
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/File.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/File.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/File.\+h\item
/home/bradarant/barant/\+Server\+Core/File.\+cpp\end{DoxyCompactItemize}
+2 -2
View File
@@ -52,5 +52,5 @@ socklen\+\_\+t {\bfseries address\+Length}
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/I\+P\+Address.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/I\+P\+Address.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/I\+P\+Address.\+h\item
/home/bradarant/barant/\+Server\+Core/I\+P\+Address.\+cpp\end{DoxyCompactItemize}
@@ -0,0 +1,23 @@
\hypertarget{classcore_1_1_i_p_address_list}{}\section{core\+:\+:I\+P\+Address\+List Class Reference}
\label{classcore_1_1_i_p_address_list}\index{core\+::\+I\+P\+Address\+List@{core\+::\+I\+P\+Address\+List}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classcore_1_1_i_p_address_list_a740cf5f7e2633836b7a741b9f048036f}\label{classcore_1_1_i_p_address_list_a740cf5f7e2633836b7a741b9f048036f}}
std\+::map$<$ std\+::string, \hyperlink{classcore_1_1_i_p_address}{I\+P\+Address} $>$ {\bfseries get\+List} ()
\item
\mbox{\Hypertarget{classcore_1_1_i_p_address_list_a6133d1065d28b5ceac4daf7f379b6a60}\label{classcore_1_1_i_p_address_list_a6133d1065d28b5ceac4daf7f379b6a60}}
bool {\bfseries add} (\hyperlink{classcore_1_1_i_p_address}{I\+P\+Address} ip\+Address)
\item
\mbox{\Hypertarget{classcore_1_1_i_p_address_list_a86e9890e15e8e0d87e34f36b637d5c40}\label{classcore_1_1_i_p_address_list_a86e9890e15e8e0d87e34f36b637d5c40}}
bool {\bfseries remove} (\hyperlink{classcore_1_1_i_p_address}{I\+P\+Address} ip\+Address)
\item
\mbox{\Hypertarget{classcore_1_1_i_p_address_list_add254c996687fd8f9ada0b5335e477cd}\label{classcore_1_1_i_p_address_list_add254c996687fd8f9ada0b5335e477cd}}
bool {\bfseries contains} (std\+::string ip\+Address)
\end{DoxyCompactItemize}
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/bradarant/barant/\+Server\+Core/I\+P\+Address\+List.\+h\item
/home/bradarant/barant/\+Server\+Core/I\+P\+Address\+List.\+cpp\end{DoxyCompactItemize}
+4 -3
View File
@@ -15,7 +15,8 @@ Inheritance diagram for core\+:\+:Log\+:\nopagebreak
\end{figure}
Collaboration diagram for core\+:\+:Log\+:\nopagebreak
Collaboration diagram for core\+:\+:Log\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -119,5 +120,5 @@ A meaningless sequenctial number that starts from -\/ at the beginning of the lo
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Log.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Log.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Log.\+h\item
/home/bradarant/barant/\+Server\+Core/Log.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
8e2dfaeb85e35549ecd487eb5ad8ca32
9791b02b1beb29861b139e4d66991845
Binary file not shown.
+3 -2
View File
@@ -2,7 +2,8 @@
\label{classcore_1_1_object}\index{core\+::\+Object@{core\+::\+Object}}
Inheritance diagram for core\+:\+:Object\+:\nopagebreak
Inheritance diagram for core\+:\+:Object\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -22,4 +23,4 @@ std\+::string {\bfseries tag}
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Object.\+h\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Object.\+h\end{DoxyCompactItemize}
@@ -1 +1 @@
3c9995b7f1863012da7b31ac28b7ec8a
d2aeb77da989f1ac4450291d855883df
Binary file not shown.
+29 -20
View File
@@ -6,20 +6,22 @@
Inheritance diagram for core\+:\+:Service\+:\nopagebreak
Inheritance diagram for core\+:\+:Service\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=172pt]{classcore_1_1_service__inherit__graph}
\includegraphics[width=300pt]{classcore_1_1_service__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for core\+:\+:Service\+:\nopagebreak
Collaboration diagram for core\+:\+:Service\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcore_1_1_service__coll__graph}
\includegraphics[width=241pt]{classcore_1_1_service__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
@@ -27,22 +29,22 @@ Collaboration diagram for core\+:\+:Service\+:\nopagebreak
\item
\hyperlink{classcore_1_1_service_a52f1c7c5fe2357fc21b9ff512e87cf64}{Service} ()
\item
\mbox{\Hypertarget{classcore_1_1_service_ac5adf574f3ac7bf8b89f8c79e9f75e8f}\label{classcore_1_1_service_ac5adf574f3ac7bf8b89f8c79e9f75e8f}}
virtual void {\bfseries init} (\hyperlink{classcore_1_1_t_c_p_server_socket}{T\+C\+P\+Server\+Socket} $\ast$\hyperlink{classcore_1_1_service_a1e630769962c2794bb15605d90c8e8fa}{server})
\item
\mbox{\Hypertarget{classcore_1_1_service_a26600d90900798a73e564539f6cd4dff}\label{classcore_1_1_service_a26600d90900798a73e564539f6cd4dff}}
void {\bfseries remove\+From\+Session\+List} (\hyperlink{classcore_1_1_session}{Session} $\ast$session)
\item
\mbox{\Hypertarget{classcore_1_1_service_a94fffcdecb61d015f9d8eb8f9a36dcb8}\label{classcore_1_1_service_a94fffcdecb61d015f9d8eb8f9a36dcb8}}
virtual void {\bfseries session\+Error\+Handler} (std\+::string error\+String, \hyperlink{classcore_1_1_session}{Session} $\ast$session)
\end{DoxyCompactItemize}
\item
virtual \hyperlink{classcore_1_1_session}{Session} $\ast$ \hyperlink{classcore_1_1_service_aeeb0ef12a87998f5fc429b22ffb233da}{get\+Socket\+Accept} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&epoll)
\item
\mbox{\Hypertarget{classcore_1_1_service_abb28d7ff0f12109e582e6b9adf37f833}\label{classcore_1_1_service_abb28d7ff0f12109e582e6b9adf37f833}}
void \hyperlink{classcore_1_1_service_abb28d7ff0f12109e582e6b9adf37f833}{output} (\hyperlink{classcore_1_1_session}{Session} $\ast$session) override
\begin{DoxyCompactList}\small\item\em Output the consoles array to the console. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item
std\+::vector$<$ \hyperlink{classcore_1_1_session}{Session} $\ast$ $>$ \hyperlink{classcore_1_1_service_acf2b5cb5da96a7b7478555e477f269a1}{sessions}
\item
\hyperlink{classcore_1_1_t_c_p_server_socket}{T\+C\+P\+Server\+Socket} $\ast$ \hyperlink{classcore_1_1_service_a1e630769962c2794bb15605d90c8e8fa}{server}
\item
\hyperlink{classcore_1_1_command_list}{Command\+List} \hyperlink{classcore_1_1_service_a09bbcbc7512240b24b51131b6e1f9366}{commands}
\end{DoxyCompactItemize}
@@ -50,7 +52,7 @@ std\+::vector$<$ \hyperlink{classcore_1_1_session}{Session} $\ast$ $>$ \hyperlin
\subsection{Detailed Description}
\hyperlink{classcore_1_1_service}{Service}
The \hyperlink{classcore_1_1_service}{Service} object is instantiated as a single object upon construction of the parent \hyperlink{classcore_1_1_t_c_p_server_socket}{T\+C\+P\+Server\+Socket} and is provided as a parameter whenever a new \hyperlink{classcore_1_1_session}{Session} object is created. It provides server level services to \hyperlink{classcore_1_1_command}{Command} handlers.
The \hyperlink{classcore_1_1_service}{Service} object is instantiated as a single object upon construction of the parent \hyperlink{classcore_1_1_t_c_p_server_socket}{T\+C\+P\+Server\+Socket} and is provided as a parameter whenever a new \hyperlink{classcore_1_1_session}{Session} object is created. It provides server level services to \hyperlink{classcore_1_1_command}{Command} handlers as well as determining the behavior of the socket.
\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classcore_1_1_service_a52f1c7c5fe2357fc21b9ff512e87cf64}\label{classcore_1_1_service_a52f1c7c5fe2357fc21b9ff512e87cf64}}
@@ -68,6 +70,19 @@ Use this constructor to create a new \hyperlink{classcore_1_1_service}{Service}
\end{DoxyParams}
\subsection{Member Function Documentation}
\mbox{\Hypertarget{classcore_1_1_service_aeeb0ef12a87998f5fc429b22ffb233da}\label{classcore_1_1_service_aeeb0ef12a87998f5fc429b22ffb233da}}
\index{core\+::\+Service@{core\+::\+Service}!get\+Socket\+Accept@{get\+Socket\+Accept}}
\index{get\+Socket\+Accept@{get\+Socket\+Accept}!core\+::\+Service@{core\+::\+Service}}
\subsubsection{\texorpdfstring{get\+Socket\+Accept()}{getSocketAccept()}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_session}{Session} $\ast$ core\+::\+Service\+::get\+Socket\+Accept (\begin{DoxyParamCaption}\item[{\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&}]{epoll }\end{DoxyParamCaption})\hspace{0.3cm}{\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{classcore_1_1_session}{Session} provides the mechanism where the server can select the protocol dialog for the desired service.
Reimplemented in \hyperlink{classcore_1_1_console_service_a635816dc132cc76e019321e32095d56d}{core\+::\+Console\+Service}.
\subsection{Member Data Documentation}
\mbox{\Hypertarget{classcore_1_1_service_a09bbcbc7512240b24b51131b6e1f9366}\label{classcore_1_1_service_a09bbcbc7512240b24b51131b6e1f9366}}
\index{core\+::\+Service@{core\+::\+Service}!commands@{commands}}
@@ -75,13 +90,7 @@ Use this constructor to create a new \hyperlink{classcore_1_1_service}{Service}
\subsubsection{\texorpdfstring{commands}{commands}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_command_list}{Command\+List} core\+::\+Service\+::commands}
The commands object is a \hyperlink{classcore_1_1_command_list}{Command\+List} and is used to store \hyperlink{classcore_1_1_command}{Command} objects to be parsed and run as data comes into the session. \mbox{\Hypertarget{classcore_1_1_service_a1e630769962c2794bb15605d90c8e8fa}\label{classcore_1_1_service_a1e630769962c2794bb15605d90c8e8fa}}
\index{core\+::\+Service@{core\+::\+Service}!server@{server}}
\index{server@{server}!core\+::\+Service@{core\+::\+Service}}
\subsubsection{\texorpdfstring{server}{server}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_t_c_p_server_socket}{T\+C\+P\+Server\+Socket}$\ast$ core\+::\+Service\+::server}
The server that is associated to this \hyperlink{classcore_1_1_service}{Service} object. This provides access to the server values and methods through the \hyperlink{classcore_1_1_service}{Service} object which behaves as an interface. \mbox{\Hypertarget{classcore_1_1_service_acf2b5cb5da96a7b7478555e477f269a1}\label{classcore_1_1_service_acf2b5cb5da96a7b7478555e477f269a1}}
The commands object is a \hyperlink{classcore_1_1_command_list}{Command\+List} and is used to store \hyperlink{classcore_1_1_command}{Command} objects to be parsed and run as data comes into the session. \mbox{\Hypertarget{classcore_1_1_service_acf2b5cb5da96a7b7478555e477f269a1}\label{classcore_1_1_service_acf2b5cb5da96a7b7478555e477f269a1}}
\index{core\+::\+Service@{core\+::\+Service}!sessions@{sessions}}
\index{sessions@{sessions}!core\+::\+Service@{core\+::\+Service}}
\subsubsection{\texorpdfstring{sessions}{sessions}}
@@ -91,5 +100,5 @@ The list of sessions that are currently open and being maintained by this object
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Service.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Service.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Service.\+h\item
/home/bradarant/barant/\+Server\+Core/Service.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
f452bb5597e9db95ba24a712587b55a6
f7ba5a568cb2cc0a3f9becbcf87928ca
Binary file not shown.
@@ -1 +1 @@
1ebb53dfd1a32d0dc5d71e51a90b6033
dd7efd2d29eca823692743b4aa7ee419
Binary file not shown.
+19 -8
View File
@@ -15,7 +15,8 @@ Inheritance diagram for core\+:\+:Session\+:\nopagebreak
\end{figure}
Collaboration diagram for core\+:\+:Session\+:\nopagebreak
Collaboration diagram for core\+:\+:Session\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -28,11 +29,7 @@ Collaboration diagram for core\+:\+:Session\+:\nopagebreak
\mbox{\Hypertarget{classcore_1_1_session_aec54baa5b60cd7dd0e64a095a4e1a908}\label{classcore_1_1_session_aec54baa5b60cd7dd0e64a095a4e1a908}}
{\bfseries Session} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&e\+Poll, \hyperlink{classcore_1_1_service}{Service} \&service)
\item
\mbox{\Hypertarget{classcore_1_1_session_ad797996bb98e500f1fe4e99ad9459460}\label{classcore_1_1_session_ad797996bb98e500f1fe4e99ad9459460}}
virtual void {\bfseries init} ()
\item
\mbox{\Hypertarget{classcore_1_1_session_ac9fb5df9a6fbf1079cd42e7383c9295d}\label{classcore_1_1_session_ac9fb5df9a6fbf1079cd42e7383c9295d}}
virtual void {\bfseries output} (\hyperlink{classcore_1_1_session}{Session} $\ast$session)
virtual void \hyperlink{classcore_1_1_session_a2813939a9b7b79ebe1963a0b11a374b2}{output} (std\+::stringstream \&data)
\item
void \hyperlink{classcore_1_1_session_af78d7caeea09924ee5227490c15aecfc}{send} ()
\item
@@ -102,6 +99,20 @@ The on\+Data\+Received method is called when the socket has received an event fr
Implements \hyperlink{classcore_1_1_socket_add22bdee877319a372db2fd707dc5a1c}{core\+::\+Socket}.
\mbox{\Hypertarget{classcore_1_1_session_a2813939a9b7b79ebe1963a0b11a374b2}\label{classcore_1_1_session_a2813939a9b7b79ebe1963a0b11a374b2}}
\index{core\+::\+Session@{core\+::\+Session}!output@{output}}
\index{output@{output}!core\+::\+Session@{core\+::\+Session}}
\subsubsection{\texorpdfstring{output()}{output()}}
{\footnotesize\ttfamily void core\+::\+Session\+::output (\begin{DoxyParamCaption}\item[{std\+::stringstream \&}]{out }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
The output method is called by a socket session (B\+M\+A\+Session) and will output the detail information for the client socket. When extending B\+M\+A\+T\+C\+P\+Socket or B\+M\+A\+Session you can override the method to add attributes to the list.
Reimplemented from \hyperlink{classcore_1_1_t_c_p_socket_afacf7528ff3c9ac077d7b5a49e2116fd}{core\+::\+T\+C\+P\+Socket}.
Reimplemented in \hyperlink{classcore_1_1_t_l_s_session_ae55de8a035d1ddc560cf619b2030af43}{core\+::\+T\+L\+S\+Session}.
\mbox{\Hypertarget{classcore_1_1_session_a35b030a36e9e6c72cb4c643519e8e55b}\label{classcore_1_1_session_a35b030a36e9e6c72cb4c643519e8e55b}}
\index{core\+::\+Session@{core\+::\+Session}!protocol@{protocol}}
\index{protocol@{protocol}!core\+::\+Session@{core\+::\+Session}}
@@ -134,5 +145,5 @@ Use this send\+To\+All method to output the contents of the out stream to all th
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Session.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Session.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Session.\+h\item
/home/bradarant/barant/\+Server\+Core/Session.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
1450b286ca8a5155dc4a22a351c48d7d
ad3bc7e3810fb103c2b1bc54028b2396
Binary file not shown.
+1 -1
View File
@@ -29,4 +29,4 @@ virtual bool {\bfseries test} (\hyperlink{classcore_1_1_session}{Session} \&sess
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Session\+Filter.\+h\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Session\+Filter.\+h\end{DoxyCompactItemize}
+5 -5
View File
@@ -28,6 +28,9 @@ Collaboration diagram for core\+:\+:Socket\+:\nopagebreak
\mbox{\Hypertarget{classcore_1_1_socket_a0009f3813f6d64285f3dad602e4e01cf}\label{classcore_1_1_socket_a0009f3813f6d64285f3dad602e4e01cf}}
{\bfseries Socket} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&e\+Poll)
\item
\mbox{\Hypertarget{classcore_1_1_socket_a5809d4805615c23d49aea224cb20a380}\label{classcore_1_1_socket_a5809d4805615c23d49aea224cb20a380}}
void {\bfseries shutdown} ()
\item
\mbox{\Hypertarget{classcore_1_1_socket_ac44f6ae3196a8a3e09a6a85fcf495762}\label{classcore_1_1_socket_ac44f6ae3196a8a3e09a6a85fcf495762}}
void \hyperlink{classcore_1_1_socket_ac44f6ae3196a8a3e09a6a85fcf495762}{set\+Descriptor} (int descriptor)
\begin{DoxyCompactList}\small\item\em Set the descriptor for the socket. \end{DoxyCompactList}\item
@@ -74,9 +77,6 @@ virtual void {\bfseries on\+T\+L\+S\+Init} ()
\item
virtual void \hyperlink{classcore_1_1_socket_add22bdee877319a372db2fd707dc5a1c}{on\+Data\+Received} (std\+::string data)=0
\begin{DoxyCompactList}\small\item\em Called when data is received from the socket. \end{DoxyCompactList}\item
\mbox{\Hypertarget{classcore_1_1_socket_a5809d4805615c23d49aea224cb20a380}\label{classcore_1_1_socket_a5809d4805615c23d49aea224cb20a380}}
void {\bfseries shutdown} ()
\item
virtual void \hyperlink{classcore_1_1_socket_af455ec6f793473f529507af26aa54695}{receive\+Data} (char $\ast$buffer, int buffer\+Length)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
@@ -191,5 +191,5 @@ Write data to the 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/Socket.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Socket.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Socket.\+h\item
/home/bradarant/barant/\+Server\+Core/Socket.\+cpp\end{DoxyCompactItemize}
@@ -15,7 +15,8 @@ Inheritance diagram for core\+:\+:T\+C\+P\+Server\+Socket\+:\nopagebreak
\end{figure}
Collaboration diagram for core\+:\+:T\+C\+P\+Server\+Socket\+:\nopagebreak
Collaboration diagram for core\+:\+:T\+C\+P\+Server\+Socket\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -25,24 +26,25 @@ Collaboration diagram for core\+:\+:T\+C\+P\+Server\+Socket\+:\nopagebreak
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classcore_1_1_t_c_p_server_socket_af586f06e73a8485bc8f1c5324a90904d}{T\+C\+P\+Server\+Socket} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&e\+Poll, \hyperlink{classcore_1_1_service}{Service} service, \hyperlink{classcore_1_1_i_p_address}{I\+P\+Address} address)
\hyperlink{classcore_1_1_t_c_p_server_socket_a141f91e2a1d4b348204e99688976d08e}{T\+C\+P\+Server\+Socket} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&e\+Poll, \hyperlink{classcore_1_1_service}{Service} \&\hyperlink{classcore_1_1_t_c_p_server_socket_a6506607f9b55337ed3ecaffe226cd099}{service}, \hyperlink{classcore_1_1_i_p_address}{I\+P\+Address} address)
\item
\hyperlink{classcore_1_1_t_c_p_server_socket_aa2b1403757821701ff411662a3e04ab5}{$\sim$\+T\+C\+P\+Server\+Socket} ()
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classcore_1_1_t_c_p_server_socket_a6506607f9b55337ed3ecaffe226cd099}\label{classcore_1_1_t_c_p_server_socket_a6506607f9b55337ed3ecaffe226cd099}}
\hyperlink{classcore_1_1_service}{Service} \& {\bfseries service}
\hyperlink{classcore_1_1_service}{Service} \& \hyperlink{classcore_1_1_t_c_p_server_socket_a6506607f9b55337ed3ecaffe226cd099}{service}
\item
\hyperlink{classcore_1_1_i_p_address_list}{I\+P\+Address\+List} $\ast$ \hyperlink{classcore_1_1_t_c_p_server_socket_a7d15f14da22cfd2421cf5f74d7401b63}{black\+List}
\item
\hyperlink{classcore_1_1_i_p_address_list}{I\+P\+Address\+List} $\ast$ \hyperlink{classcore_1_1_t_c_p_server_socket_a93b82e8956e89ae8e39d97a81ebc65d7}{white\+List}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item
virtual \hyperlink{classcore_1_1_session}{Session} $\ast$ \hyperlink{classcore_1_1_t_c_p_server_socket_aafd7cefcecbcb32a22dfde86fcfeab63}{get\+Socket\+Accept} ()
\item
void \hyperlink{classcore_1_1_t_c_p_server_socket_ab6654ac0712442fd860ec26c70bde8aa}{on\+Data\+Received} (std\+::string data) override
\item
int \hyperlink{classcore_1_1_t_c_p_server_socket_ae8a5a29ab10c86b85e709cc9ecfc99e5}{process\+Command} (std\+::string command, \hyperlink{classcore_1_1_session}{Session} $\ast$session) override
int \hyperlink{classcore_1_1_t_c_p_server_socket_a0433eea0645d32bb3d28e1ed782a6bdb}{process\+Command} (std\+::string command, \hyperlink{classcore_1_1_session}{Session} $\ast$session, std\+::stringstream \&data) override
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
@@ -57,11 +59,11 @@ A list of connections is maintained in a vector object.
This object extends the B\+M\+A\+Command object as well so it can be added to a Console object and process commands to display status information.
\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classcore_1_1_t_c_p_server_socket_af586f06e73a8485bc8f1c5324a90904d}\label{classcore_1_1_t_c_p_server_socket_af586f06e73a8485bc8f1c5324a90904d}}
\mbox{\Hypertarget{classcore_1_1_t_c_p_server_socket_a141f91e2a1d4b348204e99688976d08e}\label{classcore_1_1_t_c_p_server_socket_a141f91e2a1d4b348204e99688976d08e}}
\index{core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}!T\+C\+P\+Server\+Socket@{T\+C\+P\+Server\+Socket}}
\index{T\+C\+P\+Server\+Socket@{T\+C\+P\+Server\+Socket}!core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}}
\subsubsection{\texorpdfstring{T\+C\+P\+Server\+Socket()}{TCPServerSocket()}}
{\footnotesize\ttfamily core\+::\+T\+C\+P\+Server\+Socket\+::\+T\+C\+P\+Server\+Socket (\begin{DoxyParamCaption}\item[{\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&}]{e\+Poll, }\item[{\hyperlink{classcore_1_1_service}{Service}}]{service, }\item[{\hyperlink{classcore_1_1_i_p_address}{I\+P\+Address}}]{address }\end{DoxyParamCaption})}
{\footnotesize\ttfamily core\+::\+T\+C\+P\+Server\+Socket\+::\+T\+C\+P\+Server\+Socket (\begin{DoxyParamCaption}\item[{\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&}]{e\+Poll, }\item[{\hyperlink{classcore_1_1_service}{Service} \&}]{service, }\item[{\hyperlink{classcore_1_1_i_p_address}{I\+P\+Address}}]{address }\end{DoxyParamCaption})}
The constructor for the B\+M\+A\+T\+C\+P\+Socket object.
@@ -88,16 +90,6 @@ the instance of the B\+M\+A\+T\+C\+P\+Server\+Socket.
The destructor for this object.
\subsection{Member Function Documentation}
\mbox{\Hypertarget{classcore_1_1_t_c_p_server_socket_aafd7cefcecbcb32a22dfde86fcfeab63}\label{classcore_1_1_t_c_p_server_socket_aafd7cefcecbcb32a22dfde86fcfeab63}}
\index{core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}!get\+Socket\+Accept@{get\+Socket\+Accept}}
\index{get\+Socket\+Accept@{get\+Socket\+Accept}!core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}}
\subsubsection{\texorpdfstring{get\+Socket\+Accept()}{getSocketAccept()}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_session}{Session} $\ast$ core\+::\+T\+C\+P\+Server\+Socket\+::get\+Socket\+Accept (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\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 B\+M\+A\+Session provides the mechanism where the server can select the protocol dialog for the desired service.
Reimplemented in \hyperlink{classcore_1_1_t_l_s_server_socket_a954541082a39b7b417b3cd741ed4eea6}{core\+::\+T\+L\+S\+Server\+Socket}, and \hyperlink{classcore_1_1_console_server_ac1d498a7094fe69acc7b234efa296b1c}{core\+::\+Console\+Server}.
\mbox{\Hypertarget{classcore_1_1_t_c_p_server_socket_ab6654ac0712442fd860ec26c70bde8aa}\label{classcore_1_1_t_c_p_server_socket_ab6654ac0712442fd860ec26c70bde8aa}}
\index{core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}!on\+Data\+Received@{on\+Data\+Received}}
\index{on\+Data\+Received@{on\+Data\+Received}!core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}}
@@ -117,11 +109,11 @@ Override the virtual data\+Received since for the server these are requests to a
Implements \hyperlink{classcore_1_1_socket_add22bdee877319a372db2fd707dc5a1c}{core\+::\+Socket}.
\mbox{\Hypertarget{classcore_1_1_t_c_p_server_socket_ae8a5a29ab10c86b85e709cc9ecfc99e5}\label{classcore_1_1_t_c_p_server_socket_ae8a5a29ab10c86b85e709cc9ecfc99e5}}
\mbox{\Hypertarget{classcore_1_1_t_c_p_server_socket_a0433eea0645d32bb3d28e1ed782a6bdb}\label{classcore_1_1_t_c_p_server_socket_a0433eea0645d32bb3d28e1ed782a6bdb}}
\index{core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}!process\+Command@{process\+Command}}
\index{process\+Command@{process\+Command}!core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}}
\subsubsection{\texorpdfstring{process\+Command()}{processCommand()}}
{\footnotesize\ttfamily int core\+::\+T\+C\+P\+Server\+Socket\+::process\+Command (\begin{DoxyParamCaption}\item[{std\+::string}]{command, }\item[{\hyperlink{classcore_1_1_session}{Session} $\ast$}]{session }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}
{\footnotesize\ttfamily int core\+::\+T\+C\+P\+Server\+Socket\+::process\+Command (\begin{DoxyParamCaption}\item[{std\+::string}]{command, }\item[{\hyperlink{classcore_1_1_session}{Session} $\ast$}]{session, }\item[{std\+::stringstream \&}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}
This method is called when the \hyperlink{classcore_1_1_command}{Command} associated with this object is requested because a user has typed in the associated command name on a command entry line.
@@ -132,11 +124,32 @@ This method is called when the \hyperlink{classcore_1_1_command}{Command} associ
\end{DoxyParams}
Implements \hyperlink{classcore_1_1_command_a0b7ae77ea83e463193c52b2c502b7c56}{core\+::\+Command}.
Reimplemented from \hyperlink{classcore_1_1_command_ab4a70ec0e419038d9cb2ea14573b7bb6}{core\+::\+Command}.
\subsection{Member Data Documentation}
\mbox{\Hypertarget{classcore_1_1_t_c_p_server_socket_a7d15f14da22cfd2421cf5f74d7401b63}\label{classcore_1_1_t_c_p_server_socket_a7d15f14da22cfd2421cf5f74d7401b63}}
\index{core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}!black\+List@{black\+List}}
\index{black\+List@{black\+List}!core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}}
\subsubsection{\texorpdfstring{black\+List}{blackList}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_i_p_address_list}{I\+P\+Address\+List}$\ast$ core\+::\+T\+C\+P\+Server\+Socket\+::black\+List}
If not N\+U\+LL the blacklist object can be assigned to this server socket and the server IP addresses connecting to the server attempting to accept a socket are contained in this list then the connection is rejected and no accept is granted. \mbox{\Hypertarget{classcore_1_1_t_c_p_server_socket_a6506607f9b55337ed3ecaffe226cd099}\label{classcore_1_1_t_c_p_server_socket_a6506607f9b55337ed3ecaffe226cd099}}
\index{core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}!service@{service}}
\index{service@{service}!core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}}
\subsubsection{\texorpdfstring{service}{service}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_service}{Service}\& core\+::\+T\+C\+P\+Server\+Socket\+::service}
The service object reference used to access associated server information such as sessions and other extended managers. \mbox{\Hypertarget{classcore_1_1_t_c_p_server_socket_a93b82e8956e89ae8e39d97a81ebc65d7}\label{classcore_1_1_t_c_p_server_socket_a93b82e8956e89ae8e39d97a81ebc65d7}}
\index{core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}!white\+List@{white\+List}}
\index{white\+List@{white\+List}!core\+::\+T\+C\+P\+Server\+Socket@{core\+::\+T\+C\+P\+Server\+Socket}}
\subsubsection{\texorpdfstring{white\+List}{whiteList}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_i_p_address_list}{I\+P\+Address\+List}$\ast$ core\+::\+T\+C\+P\+Server\+Socket\+::white\+List}
If not N\+U\+LL the blacklist object can be assigned to this server socket and the server IP addresses connecting to the server attempting to accept a socket are contained in this list then the connection is rejected and no accept is granted.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/T\+C\+P\+Server\+Socket.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/T\+C\+P\+Server\+Socket.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/T\+C\+P\+Server\+Socket.\+h\item
/home/bradarant/barant/\+Server\+Core/T\+C\+P\+Server\+Socket.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
48d75962e12923ab17a9afda1e6eec7f
19135be31d21eae7e9308cef765433d5
+3 -3
View File
@@ -58,11 +58,11 @@ For accessing T\+CP network functions use this object. The connection oriented n
The output method is called by a socket session (B\+M\+A\+Session) and will output the detail information for the client socket. When extending B\+M\+A\+T\+C\+P\+Socket or B\+M\+A\+Session you can override the method to add attributes to the list.
Reimplemented in \hyperlink{classcore_1_1_t_l_s_session_ae55de8a035d1ddc560cf619b2030af43}{core\+::\+T\+L\+S\+Session}, and \hyperlink{classcore_1_1_console_session_add592c8b803af65d25f83f7fa4a70078}{core\+::\+Console\+Session}.
Reimplemented in \hyperlink{classcore_1_1_t_l_s_session_ae55de8a035d1ddc560cf619b2030af43}{core\+::\+T\+L\+S\+Session}, and \hyperlink{classcore_1_1_session_a2813939a9b7b79ebe1963a0b11a374b2}{core\+::\+Session}.
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/T\+C\+P\+Socket.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/T\+C\+P\+Socket.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/T\+C\+P\+Socket.\+h\item
/home/bradarant/barant/\+Server\+Core/T\+C\+P\+Socket.\+cpp\end{DoxyCompactItemize}
@@ -15,7 +15,8 @@ Inheritance diagram for core\+:\+:T\+L\+S\+Server\+Socket\+:\nopagebreak
\end{figure}
Collaboration diagram for core\+:\+:T\+L\+S\+Server\+Socket\+:\nopagebreak
Collaboration diagram for core\+:\+:T\+L\+S\+Server\+Socket\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -25,15 +26,10 @@ Collaboration diagram for core\+:\+:T\+L\+S\+Server\+Socket\+:\nopagebreak
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classcore_1_1_t_l_s_server_socket_aafd9d602021c32ad0c36ea561c6899d5}{T\+L\+S\+Server\+Socket} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&e\+Poll, \hyperlink{classcore_1_1_service}{Service} service, \hyperlink{classcore_1_1_i_p_address}{I\+P\+Address} address)
\hyperlink{classcore_1_1_t_l_s_server_socket_aafd9d602021c32ad0c36ea561c6899d5}{T\+L\+S\+Server\+Socket} (\hyperlink{classcore_1_1_e_poll}{E\+Poll} \&e\+Poll, \hyperlink{classcore_1_1_service}{Service} \hyperlink{classcore_1_1_t_c_p_server_socket_a6506607f9b55337ed3ecaffe226cd099}{service}, \hyperlink{classcore_1_1_i_p_address}{I\+P\+Address} address)
\item
\hyperlink{classcore_1_1_t_l_s_server_socket_a2433e0cbc0a9edfef1fe9c07b0e74b3d}{$\sim$\+T\+L\+S\+Server\+Socket} ()
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item
\hyperlink{classcore_1_1_session}{Session} $\ast$ \hyperlink{classcore_1_1_t_l_s_server_socket_a954541082a39b7b417b3cd741ed4eea6}{get\+Socket\+Accept} () override
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
@@ -73,20 +69,7 @@ the instance of the B\+M\+A\+T\+L\+S\+Server\+Socket.
The destructor for this object.
\subsection{Member Function Documentation}
\mbox{\Hypertarget{classcore_1_1_t_l_s_server_socket_a954541082a39b7b417b3cd741ed4eea6}\label{classcore_1_1_t_l_s_server_socket_a954541082a39b7b417b3cd741ed4eea6}}
\index{core\+::\+T\+L\+S\+Server\+Socket@{core\+::\+T\+L\+S\+Server\+Socket}!get\+Socket\+Accept@{get\+Socket\+Accept}}
\index{get\+Socket\+Accept@{get\+Socket\+Accept}!core\+::\+T\+L\+S\+Server\+Socket@{core\+::\+T\+L\+S\+Server\+Socket}}
\subsubsection{\texorpdfstring{get\+Socket\+Accept()}{getSocketAccept()}}
{\footnotesize\ttfamily \hyperlink{classcore_1_1_session}{Session} $\ast$ core\+::\+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 B\+M\+A\+Session provides the mechanism where the server can select the protocol dialog for the desired service.
Reimplemented from \hyperlink{classcore_1_1_t_c_p_server_socket_aafd7cefcecbcb32a22dfde86fcfeab63}{core\+::\+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/T\+L\+S\+Server\+Socket.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/T\+L\+S\+Server\+Socket.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/T\+L\+S\+Server\+Socket.\+h\item
/home/bradarant/barant/\+Server\+Core/T\+L\+S\+Server\+Socket.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
87f6a63cc7dd8aed34372501421ca3fe
636329bc896bb56c10fb4a7cfd5dd36d
+8 -6
View File
@@ -2,7 +2,8 @@
\label{classcore_1_1_t_l_s_service}\index{core\+::\+T\+L\+S\+Service@{core\+::\+T\+L\+S\+Service}}
Inheritance diagram for core\+:\+:T\+L\+S\+Service\+:\nopagebreak
Inheritance diagram for core\+:\+:T\+L\+S\+Service\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -11,18 +12,19 @@ Inheritance diagram for core\+:\+:T\+L\+S\+Service\+:\nopagebreak
\end{figure}
Collaboration diagram for core\+:\+:T\+L\+S\+Service\+:\nopagebreak
Collaboration diagram for core\+:\+:T\+L\+S\+Service\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classcore_1_1_t_l_s_service__coll__graph}
\includegraphics[width=241pt]{classcore_1_1_t_l_s_service__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classcore_1_1_t_l_s_service_ae5d3183590adf58440ce8b382f02431a}\label{classcore_1_1_t_l_s_service_ae5d3183590adf58440ce8b382f02431a}}
{\bfseries T\+L\+S\+Service} (\hyperlink{classcore_1_1_t_l_s_server_socket}{T\+L\+S\+Server\+Socket} \&\hyperlink{classcore_1_1_service_a1e630769962c2794bb15605d90c8e8fa}{server})
{\bfseries T\+L\+S\+Service} (\hyperlink{classcore_1_1_t_l_s_server_socket}{T\+L\+S\+Server\+Socket} \&server)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
@@ -34,5 +36,5 @@ S\+S\+L\+\_\+\+C\+TX $\ast$ {\bfseries ctx}
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/T\+L\+S\+Service.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/T\+L\+S\+Service.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/T\+L\+S\+Service.\+h\item
/home/bradarant/barant/\+Server\+Core/T\+L\+S\+Service.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
822789c47963aa4409d474a318dedaa3
820b20bc394b843055e968b4b4bd0d81
@@ -1 +1 @@
3214a96d526b0e6c98fe90c7c68d071b
832551dd0922ebc2b9024cc23ba51c76
+5 -7
View File
@@ -15,7 +15,8 @@ Inheritance diagram for core\+:\+:T\+L\+S\+Session\+:\nopagebreak
\end{figure}
Collaboration diagram for core\+:\+:T\+L\+S\+Session\+:\nopagebreak
Collaboration diagram for core\+:\+:T\+L\+S\+Session\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -35,9 +36,6 @@ virtual void \hyperlink{classcore_1_1_t_l_s_session_a547c436ab69f75307f065eca8cf
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item
\mbox{\Hypertarget{classcore_1_1_t_l_s_session_ac8c1c9f14096284dc33ba5b4d2ea0280}\label{classcore_1_1_t_l_s_session_ac8c1c9f14096284dc33ba5b4d2ea0280}}
void {\bfseries init} () override
\item
void \hyperlink{classcore_1_1_t_l_s_session_a1822cb21de545dc1a183ec0bac6cc4f0}{receive\+Data} (char $\ast$buffer, int buffer\+Length) override
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
@@ -59,7 +57,7 @@ For accessing T\+LS network functions use this object. The connection oriented n
The output method is called by a socket session (\hyperlink{classcore_1_1_session}{Session}) and will output the detail information for the client socket. When extending T\+L\+S\+Socket or \hyperlink{classcore_1_1_session}{Session} you can override the method to add attributes to the list.
Reimplemented from \hyperlink{classcore_1_1_t_c_p_socket_afacf7528ff3c9ac077d7b5a49e2116fd}{core\+::\+T\+C\+P\+Socket}.
Reimplemented from \hyperlink{classcore_1_1_session_a2813939a9b7b79ebe1963a0b11a374b2}{core\+::\+Session}.
\mbox{\Hypertarget{classcore_1_1_t_l_s_session_a547c436ab69f75307f065eca8cfcd109}\label{classcore_1_1_t_l_s_session_a547c436ab69f75307f065eca8cfcd109}}
\index{core\+::\+T\+L\+S\+Session@{core\+::\+T\+L\+S\+Session}!protocol@{protocol}}
@@ -85,5 +83,5 @@ Reimplemented from \hyperlink{classcore_1_1_socket_af455ec6f793473f529507af26aa5
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/T\+L\+S\+Session.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/T\+L\+S\+Session.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/T\+L\+S\+Session.\+h\item
/home/bradarant/barant/\+Server\+Core/T\+L\+S\+Session.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
f0728c1e77b764f20787670f2fe10eff
758c3f8e0a150e27a31c5aa7a7e6a327
@@ -11,7 +11,8 @@ Inheritance diagram for core\+:\+:Terminal\+Session\+:\nopagebreak
\end{figure}
Collaboration diagram for core\+:\+:Terminal\+Session\+:\nopagebreak
Collaboration diagram for core\+:\+:Terminal\+Session\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
@@ -62,5 +63,5 @@ void {\bfseries scroll\+Area} (int start, int end)
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Terminal\+Session.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Terminal\+Session.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Terminal\+Session.\+h\item
/home/bradarant/barant/\+Server\+Core/Terminal\+Session.\+cpp\end{DoxyCompactItemize}
@@ -1 +1 @@
5d9923cb7e966f7effc1f5dccf5543b2
b145da22587369de6c3d4770b4bc8776
+4 -4
View File
@@ -42,8 +42,8 @@ pid\+\_\+t {\bfseries get\+Thread\+Id} ()
\mbox{\Hypertarget{classcore_1_1_thread_aca6a18a5aba7e87fe91a828f4896d654}\label{classcore_1_1_thread_aca6a18a5aba7e87fe91a828f4896d654}}
int {\bfseries get\+Count} ()
\item
\mbox{\Hypertarget{classcore_1_1_thread_a13ba4799a20196ea1bed9f84e264e613}\label{classcore_1_1_thread_a13ba4799a20196ea1bed9f84e264e613}}
void {\bfseries output} (\hyperlink{classcore_1_1_session}{Session} $\ast$session)
\mbox{\Hypertarget{classcore_1_1_thread_aa5b676aa441735c2ac60d05fd3ab02b5}\label{classcore_1_1_thread_aa5b676aa441735c2ac60d05fd3ab02b5}}
void {\bfseries output} (std\+::stringstream \&data)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}
@@ -64,5 +64,5 @@ Start the thread object. This will cause the epoll scheduler to commence reading
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Thread.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Thread.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Thread.\+h\item
/home/bradarant/barant/\+Server\+Core/Thread.\+cpp\end{DoxyCompactItemize}
+2 -2
View File
@@ -90,5 +90,5 @@ Use the \hyperlink{classcore_1_1_timer_ac0a642cdcb76b7f995137162050d3d0b}{set\+T
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Timer.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/Timer.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/Timer.\+h\item
/home/bradarant/barant/\+Server\+Core/Timer.\+cpp\end{DoxyCompactItemize}
@@ -33,8 +33,8 @@ Collaboration diagram for core\+:\+:U\+D\+P\+Server\+Socket\+:\nopagebreak
\item
void \hyperlink{classcore_1_1_u_d_p_server_socket_a41933ca153c854a800e3d047ab18313e}{on\+Data\+Received} (std\+::string data) override
\begin{DoxyCompactList}\small\item\em Called when data is received from the socket. \end{DoxyCompactList}\item
\mbox{\Hypertarget{classcore_1_1_u_d_p_server_socket_a4db3bc4f907e945074106d1be2e877d5}\label{classcore_1_1_u_d_p_server_socket_a4db3bc4f907e945074106d1be2e877d5}}
int {\bfseries process\+Command} (\hyperlink{classcore_1_1_session}{Session} $\ast$session)
\mbox{\Hypertarget{classcore_1_1_u_d_p_server_socket_aef32dee99a40a8951a708e99776539d4}\label{classcore_1_1_u_d_p_server_socket_aef32dee99a40a8951a708e99776539d4}}
int {\bfseries process\+Command} (std\+::string request, std\+::stringstream \&data)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
@@ -76,5 +76,5 @@ Implements \hyperlink{classcore_1_1_socket_add22bdee877319a372db2fd707dc5a1c}{co
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/U\+D\+P\+Server\+Socket.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/U\+D\+P\+Server\+Socket.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/U\+D\+P\+Server\+Socket.\+h\item
/home/bradarant/barant/\+Server\+Core/U\+D\+P\+Server\+Socket.\+cpp\end{DoxyCompactItemize}
+2 -2
View File
@@ -29,5 +29,5 @@ Collaboration diagram for core\+:\+:U\+D\+P\+Socket\+:\nopagebreak
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/U\+D\+P\+Socket.\+h\item
/home/barant/\+Development/\+B\+M\+A/server\+\_\+core/\+Server\+Core/U\+D\+P\+Socket.\+cpp\end{DoxyCompactItemize}
/home/bradarant/barant/\+Server\+Core/U\+D\+P\+Socket.\+h\item
/home/bradarant/barant/\+Server\+Core/U\+D\+P\+Socket.\+cpp\end{DoxyCompactItemize}
+9 -12
View File
@@ -1,13 +1,20 @@
\section{Class Hierarchy}
This inheritance list is sorted roughly, but not completely, alphabetically\+:\begin{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Exception}{\pageref{classcore_1_1_exception}}{}
\item \contentsline{section}{core\+:\+:File}{\pageref{classcore_1_1_file}}{}
\item \contentsline{section}{core\+:\+:I\+P\+Address\+List}{\pageref{classcore_1_1_i_p_address_list}}{}
\item Log\+Listener\begin{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Console\+Server}{\pageref{classcore_1_1_console_server}}{}
\end{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Object}{\pageref{classcore_1_1_object}}{}
\begin{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Command}{\pageref{classcore_1_1_command}}{}
\begin{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Command\+List}{\pageref{classcore_1_1_command_list}}{}
\item \contentsline{section}{core\+:\+:E\+Poll}{\pageref{classcore_1_1_e_poll}}{}
\item \contentsline{section}{core\+:\+:Service}{\pageref{classcore_1_1_service}}{}
\begin{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Console\+Service}{\pageref{classcore_1_1_console_service}}{}
\item \contentsline{section}{core\+:\+:T\+L\+S\+Service}{\pageref{classcore_1_1_t_l_s_service}}{}
\end{DoxyCompactList}
\item \contentsline{section}{core\+:\+:T\+C\+P\+Server\+Socket}{\pageref{classcore_1_1_t_c_p_server_socket}}{}
\begin{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Console\+Server}{\pageref{classcore_1_1_console_server}}{}
@@ -15,14 +22,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically\+:\b
\end{DoxyCompactList}
\item \contentsline{section}{core\+:\+:U\+D\+P\+Server\+Socket}{\pageref{classcore_1_1_u_d_p_server_socket}}{}
\end{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Header}{\pageref{classcore_1_1_header}}{}
\item \contentsline{section}{core\+:\+:I\+P\+Address}{\pageref{classcore_1_1_i_p_address}}{}
\item \contentsline{section}{core\+:\+:Log}{\pageref{classcore_1_1_log}}{}
\item \contentsline{section}{core\+:\+:Response}{\pageref{classcore_1_1_response}}{}
\item \contentsline{section}{core\+:\+:Service}{\pageref{classcore_1_1_service}}{}
\begin{DoxyCompactList}
\item \contentsline{section}{core\+:\+:T\+L\+S\+Service}{\pageref{classcore_1_1_t_l_s_service}}{}
\end{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Session\+Filter}{\pageref{classcore_1_1_session_filter}}{}
\item \contentsline{section}{core\+:\+:Socket}{\pageref{classcore_1_1_socket}}{}
\begin{DoxyCompactList}
@@ -46,9 +46,6 @@ This inheritance list is sorted roughly, but not completely, alphabetically\+:\b
\end{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Thread}{\pageref{classcore_1_1_thread}}{}
\end{DoxyCompactList}
\item ostringstream\begin{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Log}{\pageref{classcore_1_1_log}}{}
\end{DoxyCompactList}
\item streambuf\begin{DoxyCompactList}
\item \contentsline{section}{core\+:\+:Socket}{\pageref{classcore_1_1_socket}}{}
\end{DoxyCompactList}
+2 -4
View File
@@ -17,16 +17,14 @@ class \hyperlink{classcore_1_1_exception}{Exception}
\item
class \hyperlink{classcore_1_1_file}{File}
\item
class \hyperlink{classcore_1_1_header}{Header}
\item
class \hyperlink{classcore_1_1_i_p_address}{I\+P\+Address}
\item
class \hyperlink{classcore_1_1_i_p_address_list}{I\+P\+Address\+List}
\item
class \hyperlink{classcore_1_1_log}{Log}
\item
class \hyperlink{classcore_1_1_object}{Object}
\item
class \hyperlink{classcore_1_1_response}{Response}
\item
class \hyperlink{classcore_1_1_service}{Service}
\item
class \hyperlink{classcore_1_1_session}{Session}
+2 -9
View File
@@ -138,27 +138,20 @@
\hypersetup{pageanchor=true}
%--- Begin generated contents ---
\chapter{Namespace Index}
\input{namespaces}
\chapter{Hierarchical Index}
\input{hierarchy}
\chapter{Class Index}
\input{annotated}
\chapter{Namespace Documentation}
\input{namespacecore}
\chapter{Class Documentation}
\input{classcore_1_1_command}
\input{classcore_1_1_command_list}
\input{classcore_1_1_console_server}
\input{classcore_1_1_console_service}
\input{classcore_1_1_console_session}
\input{classcore_1_1_e_poll}
\input{classcore_1_1_exception}
\input{classcore_1_1_file}
\input{classcore_1_1_header}
\input{classcore_1_1_i_p_address}
\input{classcore_1_1_log}
\input{classcore_1_1_i_p_address_list}
\input{classcore_1_1_object}
\input{classcore_1_1_response}
\input{classcore_1_1_service}
\input{classcore_1_1_session}
\input{classcore_1_1_session_filter}