\hypertarget{class_b_m_a_stream_socket}{}\section{B\+M\+A\+Stream\+Socket Class Reference}
\label{class_b_m_a_stream_socket}\index{B\+M\+A\+Stream\+Socket@{B\+M\+A\+Stream\+Socket}}


Inheritance diagram for B\+M\+A\+Stream\+Socket\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=226pt]{class_b_m_a_stream_socket__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for B\+M\+A\+Stream\+Socket\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_b_m_a_stream_socket__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_b_m_a_stream_socket_acbf9a97dcf3050eabd9a2a96fcbef4b3}\label{class_b_m_a_stream_socket_acbf9a97dcf3050eabd9a2a96fcbef4b3}} 
{\bfseries B\+M\+A\+Stream\+Socket} (\hyperlink{class_b_m_a_e_poll}{B\+M\+A\+E\+Poll} \&e\+Poll)
\item 
\mbox{\Hypertarget{class_b_m_a_stream_socket_a28e55e4dc91be72e8ca4c2f583d7b235}\label{class_b_m_a_stream_socket_a28e55e4dc91be72e8ca4c2f583d7b235}} 
int {\bfseries write\+Frame} (\hyperlink{class_b_m_a_stream_frame}{B\+M\+A\+Stream\+Frame} $\ast$frame)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_b_m_a_stream_socket_aceb83622101fa74abf6178aa98f1c46e}{on\+Data\+Received} (char $\ast$data, int length)
\begin{DoxyCompactList}\small\item\em Called when data is received from the socket. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{class_b_m_a_stream_socket_a70a27d7e724cf30dd9a04595daad3962}\label{class_b_m_a_stream_socket_a70a27d7e724cf30dd9a04595daad3962}} 
void {\bfseries on\+Stream\+Data\+Received} (\hyperlink{class_b_m_a_stream_frame}{B\+M\+A\+Stream\+Frame} $\ast$frame)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_b_m_a_stream_socket_aceb83622101fa74abf6178aa98f1c46e}\label{class_b_m_a_stream_socket_aceb83622101fa74abf6178aa98f1c46e}} 
\index{B\+M\+A\+Stream\+Socket@{B\+M\+A\+Stream\+Socket}!on\+Data\+Received@{on\+Data\+Received}}
\index{on\+Data\+Received@{on\+Data\+Received}!B\+M\+A\+Stream\+Socket@{B\+M\+A\+Stream\+Socket}}
\subsubsection{\texorpdfstring{on\+Data\+Received()}{onDataReceived()}}
{\footnotesize\ttfamily void B\+M\+A\+Stream\+Socket\+::on\+Data\+Received (\begin{DoxyParamCaption}\item[{char $\ast$}]{data,  }\item[{int}]{length }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Called when data is received from the socket. 

The on\+Data\+Received method is called when the socket has received an event from epoll and there is data ready to be read from the socket. The default handler will pull the data and put it into the streambuf for the socket. E\+P\+O\+L\+L\+IN 

Reimplemented from \hyperlink{class_b_m_a_session_ae914bd5edb640f3b0f739742b5b0b0b0}{B\+M\+A\+Session}.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
/home/barant/\+Documents/\+Development/\+B\+M\+A\+Sockets/B\+M\+A\+Stream\+Socket.\+h\item 
/home/barant/\+Documents/\+Development/\+B\+M\+A\+Sockets/B\+M\+A\+Stream\+Socket.\+cpp\end{DoxyCompactItemize}
