\hypertarget{classPortAFSpecState_3_01IPv4_01_4}{
\section{PortAFSpecState$<$ IPv4 $>$ Class Template Reference}
\label{classPortAFSpecState_3_01IPv4_01_4}\index{PortAFSpecState$<$ IPv4 $>$@{PortAFSpecState$<$ IPv4 $>$}}
}


\hyperlink{classIPv4}{IPv4} specialized \hyperlink{classPort}{Port} state.  




{\ttfamily \#include $<$port.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classPortAFSpecState_3_01IPv4_01_4_af3ec9818accd73fc72d4baf0bc1ea39f}{PortAFSpecState} ()
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hyperlink{classPortAFSpecState_3_01IPv4_01_4_afdb33f97fc3f71fe377893f0b4fb0fa6}{$\sim$PortAFSpecState} ()
\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
\hyperlink{classAuthHandlerBase}{AuthHandlerBase} $\ast$ \hyperlink{classPortAFSpecState_3_01IPv4_01_4_a3dc789b2c0b8bf6e5ea38f2b62ac63f0}{set\_\-auth\_\-handler} (\hyperlink{classAuthHandlerBase}{AuthHandlerBase} $\ast$ah)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} authentication handler. \item\end{DoxyCompactList}\item 
\hypertarget{classPortAFSpecState_3_01IPv4_01_4_aa0f4035856411edd4448edbb82ffa7fd}{
const \hyperlink{classAuthHandlerBase}{AuthHandlerBase} $\ast$ \hyperlink{classPortAFSpecState_3_01IPv4_01_4_aa0f4035856411edd4448edbb82ffa7fd}{auth\_\-handler} () const }
\label{classPortAFSpecState_3_01IPv4_01_4_aa0f4035856411edd4448edbb82ffa7fd}

\begin{DoxyCompactList}\small\item\em Get authentication handler. \item\end{DoxyCompactList}\item 
\hypertarget{classPortAFSpecState_3_01IPv4_01_4_a237e47a35c09f35aa449a0e57f1d35d3}{
\hyperlink{classAuthHandlerBase}{AuthHandlerBase} $\ast$ \hyperlink{classPortAFSpecState_3_01IPv4_01_4_a237e47a35c09f35aa449a0e57f1d35d3}{auth\_\-handler} ()}
\label{classPortAFSpecState_3_01IPv4_01_4_a237e47a35c09f35aa449a0e57f1d35d3}

\begin{DoxyCompactList}\small\item\em Get authentication handler. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPortAFSpecState_3_01IPv4_01_4_a83546f3a13ad421b2beb760ac138010b}{
\hyperlink{classAuthHandlerBase}{AuthHandlerBase} $\ast$ {\bfseries \_\-ah}}
\label{classPortAFSpecState_3_01IPv4_01_4_a83546f3a13ad421b2beb760ac138010b}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$$>$ class PortAFSpecState$<$ IPv4 $>$}

\hyperlink{classIPv4}{IPv4} specialized \hyperlink{classPort}{Port} state. This class holds authentication handler state which is \hyperlink{classIPv4}{IPv4} specific data for a RIP \hyperlink{classPort}{Port}. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classPortAFSpecState_3_01IPv4_01_4_af3ec9818accd73fc72d4baf0bc1ea39f}{
\index{PortAFSpecState$<$ IPv4 $>$@{PortAFSpecState$<$ IPv4 $>$}!PortAFSpecState@{PortAFSpecState}}
\index{PortAFSpecState@{PortAFSpecState}!PortAFSpecState< IPv4 >@{PortAFSpecState$<$ IPv4 $>$}}
\subsubsection[{PortAFSpecState}]{\setlength{\rightskip}{0pt plus 5cm}{\bf PortAFSpecState}$<$ {\bf IPv4} $>$::{\bf PortAFSpecState} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classPortAFSpecState_3_01IPv4_01_4_af3ec9818accd73fc72d4baf0bc1ea39f}


Constructor. 

Instantiates authentication handler as a \hyperlink{classNullAuthHandler}{NullAuthHandler}. \hypertarget{classPortAFSpecState_3_01IPv4_01_4_afdb33f97fc3f71fe377893f0b4fb0fa6}{
\index{PortAFSpecState$<$ IPv4 $>$@{PortAFSpecState$<$ IPv4 $>$}!$\sim$PortAFSpecState@{$\sim$PortAFSpecState}}
\index{$\sim$PortAFSpecState@{$\sim$PortAFSpecState}!PortAFSpecState< IPv4 >@{PortAFSpecState$<$ IPv4 $>$}}
\subsubsection[{$\sim$PortAFSpecState}]{\setlength{\rightskip}{0pt plus 5cm}{\bf PortAFSpecState}$<$ {\bf IPv4} $>$::$\sim${\bf PortAFSpecState} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classPortAFSpecState_3_01IPv4_01_4_afdb33f97fc3f71fe377893f0b4fb0fa6}


Destructor. 

Deletes authentication handler if non-\/null. 

\subsection{Member Function Documentation}
\hypertarget{classPortAFSpecState_3_01IPv4_01_4_a3dc789b2c0b8bf6e5ea38f2b62ac63f0}{
\index{PortAFSpecState$<$ IPv4 $>$@{PortAFSpecState$<$ IPv4 $>$}!set\_\-auth\_\-handler@{set\_\-auth\_\-handler}}
\index{set\_\-auth\_\-handler@{set\_\-auth\_\-handler}!PortAFSpecState< IPv4 >@{PortAFSpecState$<$ IPv4 $>$}}
\subsubsection[{set\_\-auth\_\-handler}]{\setlength{\rightskip}{0pt plus 5cm}{\bf AuthHandlerBase}$\ast$ {\bf PortAFSpecState}$<$ {\bf IPv4} $>$::set\_\-auth\_\-handler (
\begin{DoxyParamCaption}
\item[{{\bf AuthHandlerBase} $\ast$}]{ah}
\end{DoxyParamCaption}
)}}
\label{classPortAFSpecState_3_01IPv4_01_4_a3dc789b2c0b8bf6e5ea38f2b62ac63f0}


Set \hyperlink{protocolthe-p}{the} authentication handler. 


\begin{DoxyParams}{Parameters}
{\em ah} & authentication handler to be used. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer to former handler. 
\end{DoxyReturn}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/rip/port.hh\end{DoxyCompactItemize}
