\hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator}{}\section{plaso.\+tarzan.\+mediator.\+mediator.\+Mediator Class Reference}
\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator}\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}


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


Collaboration diagram for plaso.\+tarzan.\+mediator.\+mediator.\+Mediator\+:
% FIG 1
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_abdcf59c29fa0110c5a5748bbbf57ac09}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_ad22624223cd8892ad988a1732b8eb93f}{Produce\+Event\+With\+Event\+Data}} (self, event, event\+\_\+data)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a986f44ca0efba2e84b90c010e82809cc}{Produce\+Extraction\+Error}} (self, message, path\+\_\+spec)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a1eb9f555dbaeb7c9532f9bfd3e115120}{Set\+File\+Entry}} (self, \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a6a243b568f7f1aa64de2e511380893ea}{file\+\_\+entry}})
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a0917f1c07e829958b5b8381db26b1725}{Get\+File\+Entry}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_ac22ffce60680a7fb0b8f79c46c8bcdb5}{Get\+Filename}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a5726c99f0559993855c163a16e0fcaae}{Append\+To\+Parser\+Chain}} (self, plugin\+\_\+or\+\_\+parser)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a1a61be77bfbff21ebb237192a1f1d3c0}{Pop\+From\+Parser\+Chain}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_aefef4d6bc2fdf72ec5d998902c7b68e7}{Add\+Event\+Attribute}} (self, attribute\+\_\+name, attribute\+\_\+value)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a4ca728ad38c8b71174fb3cc58493d5a9}{Remove\+Event\+Attribute}} (self, attribute\+\_\+name)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a7a97a7eaf074dea727097dc1ea1a6cfe}{abort}} (self)
\item 
def \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a75a1581678d1d804e65b0f7e0b9106f7}{temporary\+\_\+directory}} (self)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a6a243b568f7f1aa64de2e511380893ea}{file\+\_\+entry}}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a2500c220e382759b139f6e0751d5ff5e}{parser\+\_\+chain\+\_\+components}}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a9f48d8d5a4eaf40a4ca2a73b524c6218}{collection\+\_\+filters\+\_\+helper}}
\item 
\mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a3069eef79188eb57955f9e52f569ab03}{codepage}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}An abstract base-class for Tarzan mediators.\end{DoxyVerb}
 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_abdcf59c29fa0110c5a5748bbbf57ac09}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_abdcf59c29fa0110c5a5748bbbf57ac09}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Initialize the mediator.
\end{DoxyVerb}
 

Reimplemented in \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1print__mediator_1_1_print_mediator_ab07d85bdd990b70ba7b11c5c01a1143f}{plaso.\+tarzan.\+mediator.\+print\+\_\+mediator.\+Print\+Mediator}}.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a7a97a7eaf074dea727097dc1ea1a6cfe}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a7a97a7eaf074dea727097dc1ea1a6cfe}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!abort@{abort}}
\index{abort@{abort}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{abort()}{abort()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+abort (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Check if the parsing should be aborted.
:return: True if parsing should be aborted
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_aefef4d6bc2fdf72ec5d998902c7b68e7}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_aefef4d6bc2fdf72ec5d998902c7b68e7}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!AddEventAttribute@{AddEventAttribute}}
\index{AddEventAttribute@{AddEventAttribute}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{AddEventAttribute()}{AddEventAttribute()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+Add\+Event\+Attribute (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{attribute\+\_\+name,  }\item[{}]{attribute\+\_\+value }\end{DoxyParamCaption})}

\begin{DoxyVerb}Adds an attribute that will be set on all events produced.
Setting attributes using this method will cause events produced via this
mediator to have an attribute with the provided name set with the
provided value.
:param attribute_name: name of the attribute to add
:param attribute_value: value of the attribute to add
:raises KeyError: if the event attribute is already set
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a5726c99f0559993855c163a16e0fcaae}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a5726c99f0559993855c163a16e0fcaae}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!AppendToParserChain@{AppendToParserChain}}
\index{AppendToParserChain@{AppendToParserChain}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{AppendToParserChain()}{AppendToParserChain()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+Append\+To\+Parser\+Chain (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{plugin\+\_\+or\+\_\+parser }\end{DoxyParamCaption})}

\begin{DoxyVerb}Adds a parser or parser plugin to the parser chain.
:param plugin_or_parser: parser or parser plugin
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a0917f1c07e829958b5b8381db26b1725}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a0917f1c07e829958b5b8381db26b1725}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!GetFileEntry@{GetFileEntry}}
\index{GetFileEntry@{GetFileEntry}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{GetFileEntry()}{GetFileEntry()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+Get\+File\+Entry (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Retrieves the active file entry.
:return: file entry
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_ac22ffce60680a7fb0b8f79c46c8bcdb5}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_ac22ffce60680a7fb0b8f79c46c8bcdb5}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!GetFilename@{GetFilename}}
\index{GetFilename@{GetFilename}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{GetFilename()}{GetFilename()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+Get\+Filename (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Retrieves the name of the active file entry.
:return: name of the active file entry or None
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a1a61be77bfbff21ebb237192a1f1d3c0}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a1a61be77bfbff21ebb237192a1f1d3c0}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!PopFromParserChain@{PopFromParserChain}}
\index{PopFromParserChain@{PopFromParserChain}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{PopFromParserChain()}{PopFromParserChain()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+Pop\+From\+Parser\+Chain (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}Removes the last added parser or parser plugin from the parser chain.
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_ad22624223cd8892ad988a1732b8eb93f}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_ad22624223cd8892ad988a1732b8eb93f}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!ProduceEventWithEventData@{ProduceEventWithEventData}}
\index{ProduceEventWithEventData@{ProduceEventWithEventData}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{ProduceEventWithEventData()}{ProduceEventWithEventData()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+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 in \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_ae534fae1f899680094f12227e99d7f91}{plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator}}, and \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1print__mediator_1_1_print_mediator_a8ed10335c320ee8f72d5fceb27d87b6e}{plaso.\+tarzan.\+mediator.\+print\+\_\+mediator.\+Print\+Mediator}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a986f44ca0efba2e84b90c010e82809cc}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a986f44ca0efba2e84b90c010e82809cc}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!ProduceExtractionError@{ProduceExtractionError}}
\index{ProduceExtractionError@{ProduceExtractionError}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{ProduceExtractionError()}{ProduceExtractionError()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+Produce\+Extraction\+Error (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{message,  }\item[{}]{path\+\_\+spec }\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 in \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1buffered__mediator_1_1_buffered_mediator_a0794afa4ed04fae11e3d3337cccdf5d7}{plaso.\+tarzan.\+mediator.\+buffered\+\_\+mediator.\+Buffered\+Mediator}}, and \mbox{\hyperlink{classplaso_1_1tarzan_1_1mediator_1_1print__mediator_1_1_print_mediator_a86520a193eb0f70b2ed194b22982dd39}{plaso.\+tarzan.\+mediator.\+print\+\_\+mediator.\+Print\+Mediator}}.

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a4ca728ad38c8b71174fb3cc58493d5a9}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a4ca728ad38c8b71174fb3cc58493d5a9}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!RemoveEventAttribute@{RemoveEventAttribute}}
\index{RemoveEventAttribute@{RemoveEventAttribute}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{RemoveEventAttribute()}{RemoveEventAttribute()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+Remove\+Event\+Attribute (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{attribute\+\_\+name }\end{DoxyParamCaption})}

\begin{DoxyVerb}Removes an attribute from being set on all events produced.
:param attribute_name: name of the attribute to remove
:raises KeyError: if the event attribute is not set
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a1eb9f555dbaeb7c9532f9bfd3e115120}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a1eb9f555dbaeb7c9532f9bfd3e115120}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!SetFileEntry@{SetFileEntry}}
\index{SetFileEntry@{SetFileEntry}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{SetFileEntry()}{SetFileEntry()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+Set\+File\+Entry (\begin{DoxyParamCaption}\item[{}]{self,  }\item[{}]{file\+\_\+entry }\end{DoxyParamCaption})}

\begin{DoxyVerb}Sets the active file entry.
:param file_entry: file entry
\end{DoxyVerb}
 \mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a75a1581678d1d804e65b0f7e0b9106f7}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a75a1581678d1d804e65b0f7e0b9106f7}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!temporary\_directory@{temporary\_directory}}
\index{temporary\_directory@{temporary\_directory}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{temporary\_directory()}{temporary\_directory()}}
{\footnotesize\ttfamily def plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+temporary\+\_\+directory (\begin{DoxyParamCaption}\item[{}]{self }\end{DoxyParamCaption})}

\begin{DoxyVerb}A path of the directory for temporary files.
:return: path of the directory for temporary files.
\end{DoxyVerb}
 

\subsection{Member Data Documentation}
\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a3069eef79188eb57955f9e52f569ab03}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a3069eef79188eb57955f9e52f569ab03}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!codepage@{codepage}}
\index{codepage@{codepage}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{codepage}{codepage}}
{\footnotesize\ttfamily plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+codepage}

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a9f48d8d5a4eaf40a4ca2a73b524c6218}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a9f48d8d5a4eaf40a4ca2a73b524c6218}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!collection\_filters\_helper@{collection\_filters\_helper}}
\index{collection\_filters\_helper@{collection\_filters\_helper}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{collection\_filters\_helper}{collection\_filters\_helper}}
{\footnotesize\ttfamily plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+collection\+\_\+filters\+\_\+helper}

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a6a243b568f7f1aa64de2e511380893ea}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a6a243b568f7f1aa64de2e511380893ea}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!file\_entry@{file\_entry}}
\index{file\_entry@{file\_entry}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{file\_entry}{file\_entry}}
{\footnotesize\ttfamily plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+file\+\_\+entry}

\mbox{\Hypertarget{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a2500c220e382759b139f6e0751d5ff5e}\label{classplaso_1_1tarzan_1_1mediator_1_1mediator_1_1_mediator_a2500c220e382759b139f6e0751d5ff5e}} 
\index{plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}!parser\_chain\_components@{parser\_chain\_components}}
\index{parser\_chain\_components@{parser\_chain\_components}!plaso.tarzan.mediator.mediator.Mediator@{plaso.tarzan.mediator.mediator.Mediator}}
\subsubsection{\texorpdfstring{parser\_chain\_components}{parser\_chain\_components}}
{\footnotesize\ttfamily plaso.\+tarzan.\+mediator.\+mediator.\+Mediator.\+parser\+\_\+chain\+\_\+components}



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{mediator_8py}{mediator.\+py}}\end{DoxyCompactItemize}
