\hypertarget{classDiameter_1_1Packet}{}\section{Diameter\+:\+:Packet Class Reference}
\label{classDiameter_1_1Packet}\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}}


Constructor class for building Diameter packet.  




{\ttfamily \#include $<$Packet.\+hpp$>$}

\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classDiameter_1_1Packet_1_1Header}{Header}
\begin{DoxyCompactList}\small\item\em Constructor class for building Diameter packet header. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classDiameter_1_1Packet_a495c4db70c8a7f085076e07444d917c6}\label{classDiameter_1_1Packet_a495c4db70c8a7f085076e07444d917c6}} 
\hyperlink{classDiameter_1_1Packet_a495c4db70c8a7f085076e07444d917c6}{Packet} ()
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet_a6d064316d887b5c9b99b6acfd2e2e54c}{Packet} (const Byte\+Array \&byte\+Array)
\begin{DoxyCompactList}\small\item\em Parsing constructor. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet_a2bab0abbaf390210f24b0e4f9a10f58a}{Packet} (\hyperlink{classDiameter_1_1Packet}{Packet} \&\&moved) noexcept
\begin{DoxyCompactList}\small\item\em Move constructor. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet_a4faed7c2dbc68943e4aa6a500f58e5d6}{Packet} (const \hyperlink{classDiameter_1_1Packet}{Packet} \&packet)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet}{Packet} \& \hyperlink{classDiameter_1_1Packet_ac37c0f3736cc87e553ecb7b60e6962b2}{set\+Header} (\hyperlink{classDiameter_1_1Packet_1_1Header}{Header} \hyperlink{classDiameter_1_1Packet_a9afb9a360694064175f2684bcd1668ce}{header})
\begin{DoxyCompactList}\small\item\em Method for setting diameter packet header. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet_1_1Header}{Header} \hyperlink{classDiameter_1_1Packet_a9afb9a360694064175f2684bcd1668ce}{header} () const
\begin{DoxyCompactList}\small\item\em Method for getting diameter packet header. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet_1_1Header}{Header} \& \hyperlink{classDiameter_1_1Packet_a33d371227da437251b2875baa5a97dbd}{header} ()
\begin{DoxyCompactList}\small\item\em Method for getting diameter packet header. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet}{Packet} \& \hyperlink{classDiameter_1_1Packet_a36d19bb1e2ff1517dea5927bd77cc7b9}{add\+A\+VP} (\hyperlink{classDiameter_1_1AVP}{A\+VP} \hyperlink{classDiameter_1_1Packet_a5a3cc851ef92ab67f975155d2ac7dad9}{avp})
\begin{DoxyCompactList}\small\item\em Method for adding \hyperlink{classDiameter_1_1AVP}{A\+VP} to packet. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1AVP}{A\+VP} \hyperlink{classDiameter_1_1Packet_a5a3cc851ef92ab67f975155d2ac7dad9}{avp} (uint32\+\_\+t index) const
\begin{DoxyCompactList}\small\item\em Method for getting \hyperlink{classDiameter_1_1AVP}{A\+VP} by index. If there is no \hyperlink{classDiameter_1_1AVP}{A\+VP} with this index, std\+::invalid\+\_\+argument exception will be thrown. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1AVP}{A\+VP} \& \hyperlink{classDiameter_1_1Packet_ad6ef3d9705751366b4d04cfb3344f0ca}{avp} (uint32\+\_\+t index)
\begin{DoxyCompactList}\small\item\em Method for getting \hyperlink{classDiameter_1_1AVP}{A\+VP} by index. If there is no \hyperlink{classDiameter_1_1AVP}{A\+VP} with this index, std\+::invalid\+\_\+argument exception will be thrown. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet}{Packet} \& \hyperlink{classDiameter_1_1Packet_afc303623a41f1bc454dfe6b711c47c33}{replace\+A\+VP} (\hyperlink{classDiameter_1_1AVP}{A\+VP} \hyperlink{classDiameter_1_1Packet_a5a3cc851ef92ab67f975155d2ac7dad9}{avp}, uint32\+\_\+t index)
\begin{DoxyCompactList}\small\item\em Method for replacing A\+V\+Ps. \end{DoxyCompactList}\item 
uint32\+\_\+t \hyperlink{classDiameter_1_1Packet_a9b11aa0f60e2a9cec525d98f6b1d8808}{number\+Of\+A\+V\+Ps} () const
\begin{DoxyCompactList}\small\item\em Method for getting number of A\+V\+Ps. \end{DoxyCompactList}\item 
bool \hyperlink{classDiameter_1_1Packet_ab6077555d623ff342c4821c0a0e29285}{is\+Valid} () const
\begin{DoxyCompactList}\small\item\em Method for checking is packet valid. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet}{Packet} \& \hyperlink{classDiameter_1_1Packet_a80abbedae208ece043c406a87b8876af}{operator=} (\hyperlink{classDiameter_1_1Packet}{Packet} \&\&moved) noexcept
\begin{DoxyCompactList}\small\item\em Move operator. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet}{Packet} \& \hyperlink{classDiameter_1_1Packet_a38f277e129b9b7d7e31188b48d947506}{operator=} (const \hyperlink{classDiameter_1_1Packet}{Packet} \&copied)
\begin{DoxyCompactList}\small\item\em Copy operator. \end{DoxyCompactList}\item 
Byte\+Array \hyperlink{classDiameter_1_1Packet_a6120f6d21c5d2f4c4ed4a8602953923c}{deploy} () const
\begin{DoxyCompactList}\small\item\em Method for deploying packet as byte array. \end{DoxyCompactList}\item 
Header\+::\+Message\+Length\+Type \hyperlink{classDiameter_1_1Packet_ae9926218252f08fcdbc937d16d496984}{calculate\+Length} () const
\begin{DoxyCompactList}\small\item\em Method for calculating actual packet length. \end{DoxyCompactList}\item 
\hyperlink{classDiameter_1_1Packet}{Packet} \& \hyperlink{classDiameter_1_1Packet_a822041d59387ef2a8c0f48c2c4bc1054}{update\+Length} ()
\begin{DoxyCompactList}\small\item\em Method for updating length in header. \end{DoxyCompactList}\item 
void \hyperlink{classDiameter_1_1Packet_a2a41d20364b4b73787c9cf5af2ee6001}{deploy} (Byte\+Array \&byte\+Array) const
\begin{DoxyCompactList}\small\item\em Method for deploying packet as byte array. \hyperlink{classDiameter_1_1Packet}{Packet} will be appended to deploy. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Constructor class for building Diameter packet. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classDiameter_1_1Packet_a6d064316d887b5c9b99b6acfd2e2e54c}\label{classDiameter_1_1Packet_a6d064316d887b5c9b99b6acfd2e2e54c}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!Packet@{Packet}}
\index{Packet@{Packet}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{Packet()}{Packet()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily Diameter\+::\+Packet\+::\+Packet (\begin{DoxyParamCaption}\item[{const Byte\+Array \&}]{byte\+Array }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}



Parsing constructor. 


\begin{DoxyParams}{Parameters}
{\em byte\+Array} & Byte array. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classDiameter_1_1Packet_a2bab0abbaf390210f24b0e4f9a10f58a}\label{classDiameter_1_1Packet_a2bab0abbaf390210f24b0e4f9a10f58a}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!Packet@{Packet}}
\index{Packet@{Packet}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{Packet()}{Packet()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily Diameter\+::\+Packet\+::\+Packet (\begin{DoxyParamCaption}\item[{\hyperlink{classDiameter_1_1Packet}{Diameter\+::\+Packet} \&\&}]{moved }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [noexcept]}}



Move constructor. 


\begin{DoxyParams}{Parameters}
{\em moved} & Move constructor. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classDiameter_1_1Packet_a4faed7c2dbc68943e4aa6a500f58e5d6}\label{classDiameter_1_1Packet_a4faed7c2dbc68943e4aa6a500f58e5d6}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!Packet@{Packet}}
\index{Packet@{Packet}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{Packet()}{Packet()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily Diameter\+::\+Packet\+::\+Packet (\begin{DoxyParamCaption}\item[{const \hyperlink{classDiameter_1_1Packet}{Packet} \&}]{packet }\end{DoxyParamCaption})}



Copy constructor. 


\begin{DoxyParams}{Parameters}
{\em packet} & Copy constructor. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{classDiameter_1_1Packet_a36d19bb1e2ff1517dea5927bd77cc7b9}\label{classDiameter_1_1Packet_a36d19bb1e2ff1517dea5927bd77cc7b9}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!add\+A\+VP@{add\+A\+VP}}
\index{add\+A\+VP@{add\+A\+VP}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{add\+A\+V\+P()}{addAVP()}}
{\footnotesize\ttfamily \hyperlink{classDiameter_1_1Packet}{Diameter\+::\+Packet} \& Diameter\+::\+Packet\+::add\+A\+VP (\begin{DoxyParamCaption}\item[{\hyperlink{classDiameter_1_1AVP}{Diameter\+::\+A\+VP}}]{avp }\end{DoxyParamCaption})}



Method for adding \hyperlink{classDiameter_1_1AVP}{A\+VP} to packet. 


\begin{DoxyParams}{Parameters}
{\em avp} & \hyperlink{classDiameter_1_1AVP}{A\+VP} object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Reference to constructor. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_a5a3cc851ef92ab67f975155d2ac7dad9}\label{classDiameter_1_1Packet_a5a3cc851ef92ab67f975155d2ac7dad9}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!avp@{avp}}
\index{avp@{avp}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{avp()}{avp()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{classDiameter_1_1AVP}{Diameter\+::\+A\+VP} Diameter\+::\+Packet\+::avp (\begin{DoxyParamCaption}\item[{uint32\+\_\+t}]{index }\end{DoxyParamCaption}) const}



Method for getting \hyperlink{classDiameter_1_1AVP}{A\+VP} by index. If there is no \hyperlink{classDiameter_1_1AVP}{A\+VP} with this index, std\+::invalid\+\_\+argument exception will be thrown. 


\begin{DoxyParams}{Parameters}
{\em index} & Index. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{classDiameter_1_1AVP}{A\+VP}. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_ad6ef3d9705751366b4d04cfb3344f0ca}\label{classDiameter_1_1Packet_ad6ef3d9705751366b4d04cfb3344f0ca}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!avp@{avp}}
\index{avp@{avp}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{avp()}{avp()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{classDiameter_1_1AVP}{Diameter\+::\+A\+VP} \& Diameter\+::\+Packet\+::avp (\begin{DoxyParamCaption}\item[{uint32\+\_\+t}]{index }\end{DoxyParamCaption})}



Method for getting \hyperlink{classDiameter_1_1AVP}{A\+VP} by index. If there is no \hyperlink{classDiameter_1_1AVP}{A\+VP} with this index, std\+::invalid\+\_\+argument exception will be thrown. 


\begin{DoxyParams}{Parameters}
{\em index} & Index. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{classDiameter_1_1AVP}{A\+VP}. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_ae9926218252f08fcdbc937d16d496984}\label{classDiameter_1_1Packet_ae9926218252f08fcdbc937d16d496984}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!calculate\+Length@{calculate\+Length}}
\index{calculate\+Length@{calculate\+Length}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{calculate\+Length()}{calculateLength()}}
{\footnotesize\ttfamily Diameter\+::\+Packet\+::\+Header\+::\+Message\+Length\+Type Diameter\+::\+Packet\+::calculate\+Length (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Method for calculating actual packet length. 

\begin{DoxyReturn}{Returns}
Actual packet length. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_a6120f6d21c5d2f4c4ed4a8602953923c}\label{classDiameter_1_1Packet_a6120f6d21c5d2f4c4ed4a8602953923c}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!deploy@{deploy}}
\index{deploy@{deploy}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{deploy()}{deploy()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Byte\+Array Diameter\+::\+Packet\+::deploy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Method for deploying packet as byte array. 

\begin{DoxyReturn}{Returns}
Byte array. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_a2a41d20364b4b73787c9cf5af2ee6001}\label{classDiameter_1_1Packet_a2a41d20364b4b73787c9cf5af2ee6001}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!deploy@{deploy}}
\index{deploy@{deploy}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{deploy()}{deploy()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Diameter\+::\+Packet\+::deploy (\begin{DoxyParamCaption}\item[{Byte\+Array \&}]{byte\+Array }\end{DoxyParamCaption}) const}



Method for deploying packet as byte array. \hyperlink{classDiameter_1_1Packet}{Packet} will be appended to deploy. 


\begin{DoxyParams}{Parameters}
{\em byte\+Array} & Byte array. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classDiameter_1_1Packet_a9afb9a360694064175f2684bcd1668ce}\label{classDiameter_1_1Packet_a9afb9a360694064175f2684bcd1668ce}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!header@{header}}
\index{header@{header}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{header()}{header()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{classDiameter_1_1Packet_1_1Header}{Diameter\+::\+Packet\+::\+Header} Diameter\+::\+Packet\+::header (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Method for getting diameter packet header. 

\begin{DoxyReturn}{Returns}
\hyperlink{classDiameter_1_1Packet_1_1Header}{Header}. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_a33d371227da437251b2875baa5a97dbd}\label{classDiameter_1_1Packet_a33d371227da437251b2875baa5a97dbd}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!header@{header}}
\index{header@{header}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{header()}{header()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{classDiameter_1_1Packet_1_1Header}{Diameter\+::\+Packet\+::\+Header} \& Diameter\+::\+Packet\+::header (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Method for getting diameter packet header. 

\begin{DoxyReturn}{Returns}
\hyperlink{classDiameter_1_1Packet_1_1Header}{Header}. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_ab6077555d623ff342c4821c0a0e29285}\label{classDiameter_1_1Packet_ab6077555d623ff342c4821c0a0e29285}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!is\+Valid@{is\+Valid}}
\index{is\+Valid@{is\+Valid}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{is\+Valid()}{isValid()}}
{\footnotesize\ttfamily bool Diameter\+::\+Packet\+::is\+Valid (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Method for checking is packet valid. 

\begin{DoxyReturn}{Returns}
\hyperlink{classDiameter_1_1Packet}{Packet} validness. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_a9b11aa0f60e2a9cec525d98f6b1d8808}\label{classDiameter_1_1Packet_a9b11aa0f60e2a9cec525d98f6b1d8808}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!number\+Of\+A\+V\+Ps@{number\+Of\+A\+V\+Ps}}
\index{number\+Of\+A\+V\+Ps@{number\+Of\+A\+V\+Ps}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{number\+Of\+A\+V\+Ps()}{numberOfAVPs()}}
{\footnotesize\ttfamily uint32\+\_\+t Diameter\+::\+Packet\+::number\+Of\+A\+V\+Ps (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Method for getting number of A\+V\+Ps. 

\begin{DoxyReturn}{Returns}
Number of A\+V\+Ps. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_a80abbedae208ece043c406a87b8876af}\label{classDiameter_1_1Packet_a80abbedae208ece043c406a87b8876af}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!operator=@{operator=}}
\index{operator=@{operator=}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{operator=()}{operator=()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{classDiameter_1_1Packet}{Diameter\+::\+Packet} \& Diameter\+::\+Packet\+::operator= (\begin{DoxyParamCaption}\item[{\hyperlink{classDiameter_1_1Packet}{Diameter\+::\+Packet} \&\&}]{moved }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [noexcept]}}



Move operator. 


\begin{DoxyParams}{Parameters}
{\em moved} & Moved. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Reference to constructor. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_a38f277e129b9b7d7e31188b48d947506}\label{classDiameter_1_1Packet_a38f277e129b9b7d7e31188b48d947506}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!operator=@{operator=}}
\index{operator=@{operator=}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{operator=()}{operator=()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \hyperlink{classDiameter_1_1Packet}{Diameter\+::\+Packet} \& Diameter\+::\+Packet\+::operator= (\begin{DoxyParamCaption}\item[{const \hyperlink{classDiameter_1_1Packet}{Packet} \&}]{copied }\end{DoxyParamCaption})}



Copy operator. 


\begin{DoxyParams}{Parameters}
{\em copied} & Copied. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Reference to constructor. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_afc303623a41f1bc454dfe6b711c47c33}\label{classDiameter_1_1Packet_afc303623a41f1bc454dfe6b711c47c33}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!replace\+A\+VP@{replace\+A\+VP}}
\index{replace\+A\+VP@{replace\+A\+VP}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{replace\+A\+V\+P()}{replaceAVP()}}
{\footnotesize\ttfamily \hyperlink{classDiameter_1_1Packet}{Diameter\+::\+Packet} \& Diameter\+::\+Packet\+::replace\+A\+VP (\begin{DoxyParamCaption}\item[{\hyperlink{classDiameter_1_1AVP}{Diameter\+::\+A\+VP}}]{avp,  }\item[{uint32\+\_\+t}]{index }\end{DoxyParamCaption})}



Method for replacing A\+V\+Ps. 


\begin{DoxyParams}{Parameters}
{\em avp} & \hyperlink{classDiameter_1_1AVP}{A\+VP} object. \\
\hline
{\em index} & \hyperlink{classDiameter_1_1AVP}{A\+VP} placing index. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Reference to constructor. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_ac37c0f3736cc87e553ecb7b60e6962b2}\label{classDiameter_1_1Packet_ac37c0f3736cc87e553ecb7b60e6962b2}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!set\+Header@{set\+Header}}
\index{set\+Header@{set\+Header}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{set\+Header()}{setHeader()}}
{\footnotesize\ttfamily \hyperlink{classDiameter_1_1Packet}{Diameter\+::\+Packet} \& Diameter\+::\+Packet\+::set\+Header (\begin{DoxyParamCaption}\item[{\hyperlink{classDiameter_1_1Packet_1_1Header}{Header}}]{header }\end{DoxyParamCaption})}



Method for setting diameter packet header. 


\begin{DoxyParams}{Parameters}
{\em header} & \hyperlink{classDiameter_1_1Packet}{Packet} header. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Reference to constructor. 
\end{DoxyReturn}
\mbox{\Hypertarget{classDiameter_1_1Packet_a822041d59387ef2a8c0f48c2c4bc1054}\label{classDiameter_1_1Packet_a822041d59387ef2a8c0f48c2c4bc1054}} 
\index{Diameter\+::\+Packet@{Diameter\+::\+Packet}!update\+Length@{update\+Length}}
\index{update\+Length@{update\+Length}!Diameter\+::\+Packet@{Diameter\+::\+Packet}}
\subsubsection{\texorpdfstring{update\+Length()}{updateLength()}}
{\footnotesize\ttfamily \hyperlink{classDiameter_1_1Packet}{Diameter\+::\+Packet} \& Diameter\+::\+Packet\+::update\+Length (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Method for updating length in header. 

\begin{DoxyReturn}{Returns}
Reference to constructor. 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
include/\+Diameter/Packet.\+hpp\item 
src/\+Diameter/Packet.\+cpp\end{DoxyCompactItemize}
