\hypertarget{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator}{}\section{plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator Class Reference}
\label{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator}\index{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}}


Inheritance diagram for plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator\+:
% FIG 0


Collaboration diagram for plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator\+:
% FIG 1
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a7677cd9cee6e3410ca0228660b092941}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self, \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_aef3ebb7bce12d6ee8203982e196b5ff7}{buffer\+\_\+queue}}=None)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_ae534fae1f899680094f12227e99d7f91}{Produce\+Event\+With\+Event\+Data}} (self, event, event\+\_\+data)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a0794afa4ed04fae11e3d3337cccdf5d7}{Produce\+Extraction\+Error}} (self, message, path\+\_\+spec=None)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a89dd8dacf314017aaf4965da0e43b2c1}{get\+\_\+buffer\+\_\+queue}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a90e8b77a1905528d4749f04108b3484c}{flush\+\_\+buffer}} (self, exception\+\_\+on\+\_\+error=False)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_aef3ebb7bce12d6ee8203982e196b5ff7}{buffer\+\_\+queue}}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a51c85fca120c5967f7142de47fab6a39}{Event}}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a27da92b65ac3ce96179b8220bafb8082}{Error}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}Tarzan mediator putting events into a buffer.\end{DoxyVerb}
 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a7677cd9cee6e3410ca0228660b092941}\label{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a7677cd9cee6e3410ca0228660b092941}} 
\index{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}}
\subsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{buffer\+\_\+queue = {\ttfamily None} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Initialize the mediator including its queue if not given.
\end{DoxyVerb}
 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a90e8b77a1905528d4749f04108b3484c}\label{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a90e8b77a1905528d4749f04108b3484c}} 
\index{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}!flush\_buffer@{flush\_buffer}}
\index{flush\_buffer@{flush\_buffer}!plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}}
\subsubsection{\texorpdfstring{flush\_buffer()}{flush\_buffer()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator.\+flush\+\_\+buffer (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{exception\+\_\+on\+\_\+error = {\ttfamily False} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Flush the buffer into a list of events and return the list.
:param exception_on_error: True to raise an exception of an error event.
:return: the list
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a89dd8dacf314017aaf4965da0e43b2c1}\label{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a89dd8dacf314017aaf4965da0e43b2c1}} 
\index{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}!get\_buffer\_queue@{get\_buffer\_queue}}
\index{get\_buffer\_queue@{get\_buffer\_queue}!plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}}
\subsubsection{\texorpdfstring{get\_buffer\_queue()}{get\_buffer\_queue()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator.\+get\+\_\+buffer\+\_\+queue (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Get the queue of buffered events.
:return: the queue
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_ae534fae1f899680094f12227e99d7f91}\label{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_ae534fae1f899680094f12227e99d7f91}} 
\index{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}!ProduceEventWithEventData@{ProduceEventWithEventData}}
\index{ProduceEventWithEventData@{ProduceEventWithEventData}!plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}}
\subsubsection{\texorpdfstring{ProduceEventWithEventData()}{ProduceEventWithEventData()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator.\+Produce\+Event\+With\+Event\+Data (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{event,  }\item[{}]{event\+\_\+data }\end{DoxyParamCaption})}

\begin{DoxyVerb}Produce a particular event with its data.
:param event: the event
:param event_data: the event's data
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_ad22624223cd8892ad988a1732b8eb93f}{plaso.\+tarzan.\+mediator.\+mediator.\+Mediator}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a0794afa4ed04fae11e3d3337cccdf5d7}\label{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a0794afa4ed04fae11e3d3337cccdf5d7}} 
\index{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}!ProduceExtractionError@{ProduceExtractionError}}
\index{ProduceExtractionError@{ProduceExtractionError}!plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}}
\subsubsection{\texorpdfstring{ProduceExtractionError()}{ProduceExtractionError()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator.\+Produce\+Extraction\+Error (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{message,  }\item[{}]{path\+\_\+spec = {\ttfamily None} }\end{DoxyParamCaption})}

\begin{DoxyVerb}Produce an extraction error with a particular message and a path.
:param message: the error message
:param path_spec: the erroneous path
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a986f44ca0efba2e84b90c010e82809cc}{plaso.\+tarzan.\+mediator.\+mediator.\+Mediator}}.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_aef3ebb7bce12d6ee8203982e196b5ff7}\label{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_aef3ebb7bce12d6ee8203982e196b5ff7}} 
\index{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}!buffer\_queue@{buffer\_queue}}
\index{buffer\_queue@{buffer\_queue}!plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}}
\subsubsection{\texorpdfstring{buffer\_queue}{buffer\_queue}}
{\footnotesize\ttfamily plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator.\+buffer\+\_\+queue}

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a27da92b65ac3ce96179b8220bafb8082}\label{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a27da92b65ac3ce96179b8220bafb8082}} 
\index{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}!Error@{Error}}
\index{Error@{Error}!plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}}
\subsubsection{\texorpdfstring{Error}{Error}}
{\footnotesize\ttfamily plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator.\+Error}

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a51c85fca120c5967f7142de47fab6a39}\label{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a51c85fca120c5967f7142de47fab6a39}} 
\index{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}!Event@{Event}}
\index{Event@{Event}!plaso.tarzan.mediator.buffered\_mediator.BufferedMediator@{plaso.tarzan.mediator.buffered\_mediator.BufferedMediator}}
\subsubsection{\texorpdfstring{Event}{Event}}
{\footnotesize\ttfamily plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator.\+Event}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/rychly/repos/pyspark-\/plaso/src/plaso/tarzan/mediator/\mbox{\hyperlink{buffered__mediator_8py}{buffered\+\_\+mediator.\+py}}\end{DoxyCompactItemize}
