\doxysection{Milter.\+cache.\+Addr\+Cache Class Reference}
\label{classMilter_1_1cache_1_1AddrCache}\index{Milter.cache.AddrCache@{Milter.cache.AddrCache}}
Inheritance diagram for Milter.\+cache.\+Addr\+Cache\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classMilter_1_1cache_1_1AddrCache}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\label{classMilter_1_1cache_1_1AddrCache_af67002ea1d6183a423f8573254903f93} 
{\bfseries \+\_\+\+\_\+init\+\_\+\+\_\+} (self, renew=7, fname=None)
\item 
\label{classMilter_1_1cache_1_1AddrCache_a2294c903024f6eb972905242f9785f7f} 
{\bfseries load} (self, fname, age=0)
\item 
\textbf{ has\+\_\+precise\+\_\+key} (self, sender)
\item 
\label{classMilter_1_1cache_1_1AddrCache_acbb6d5c1ab062dbeca1ecb2d2102cabe} 
{\bfseries has\+\_\+key} (self, sender)
\item 
\label{classMilter_1_1cache_1_1AddrCache_a662d69e9fc14aa103b0b32f22aec9740} 
{\bfseries \+\_\+\+\_\+getitem\+\_\+\+\_\+} (self, sender)
\item 
\label{classMilter_1_1cache_1_1AddrCache_ab6f61b7f75b39b3d397f22af5af18c4a} 
{\bfseries addperm} (self, sender, res=None)
\item 
\label{classMilter_1_1cache_1_1AddrCache_a0bd61f051b20b4c6e186897bb75f0ca0} 
{\bfseries \+\_\+\+\_\+setitem\+\_\+\+\_\+} (self, sender, res)
\item 
\label{classMilter_1_1cache_1_1AddrCache_a776d323d5166dce14f1aa2b5415b60a4} 
{\bfseries \+\_\+\+\_\+len\+\_\+\+\_\+} (self)
\end{DoxyCompactItemize}
\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\label{classMilter_1_1cache_1_1AddrCache_a56184534a6ae399cb89d588160f7b06a} 
{\bfseries age} = renew
\item 
\label{classMilter_1_1cache_1_1AddrCache_ad208ee73846ac1b65d5ac52fc66f3ae5} 
dict {\bfseries cache} = \{\}
\item 
\label{classMilter_1_1cache_1_1AddrCache_a55f9a546358d3abe5907583afad6370a} 
{\bfseries fname} = fname
\end{DoxyCompactItemize}
\doxysubsubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\label{classMilter_1_1cache_1_1AddrCache_ac8672cb765dfa049b9e1906a39172d70} 
str {\bfseries time\+\_\+format} = \textquotesingle{}\%Y\%b\%d \%H\+:\%M\+:\%S \%Z\textquotesingle{}
\end{DoxyCompactItemize}
\doxysubsubsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\label{classMilter_1_1cache_1_1AddrCache_a620c4361df4b3ed02af2d35df6200a63} 
{\bfseries \+\_\+\+\_\+contains\+\_\+\+\_\+} = has\+\_\+key
\end{DoxyCompactItemize}


\label{doc-func-members}
\doxysubsection{Member Function Documentation}
\index{Milter.cache.AddrCache@{Milter.cache.AddrCache}!has\_precise\_key@{has\_precise\_key}}
\index{has\_precise\_key@{has\_precise\_key}!Milter.cache.AddrCache@{Milter.cache.AddrCache}}
\doxysubsubsection{has\_precise\_key()}
{\footnotesize\ttfamily \label{classMilter_1_1cache_1_1AddrCache_a7e1786991285a6da34b648a5939190b6} 
Milter.\+cache.\+Addr\+Cache.\+has\+\_\+precise\+\_\+key (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{sender}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}True if precise sender is cached and has not expired.  Don't
try looking up wildcard entries.
\end{DoxyVerb}
 

References \+\_\+\+\_\+getitem\+\_\+\+\_\+(), age, cache, fname, has\+\_\+key(), and \textbf{ has\+\_\+precise\+\_\+key()}.



Referenced by \textbf{ has\+\_\+precise\+\_\+key()}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Milter/cache.\+py\end{DoxyCompactItemize}
