\hypertarget{group__Eldbus__Message}{\section{Message}
\label{group__Eldbus__Message}\index{Message@{Message}}
}
\subsection*{Modules}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eldbus__Message__Iter}{Iterator}
\item 
\hyperlink{group__Eina__Value}{Eina\+\_\+\+Value to/from Message}
\item 
\hyperlink{group__Eldbus__Message__Helpers}{Message Helpers}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$ \hyperlink{group__Eldbus__Message_gae9becdb10cdef1dccf5b5f76e50264f1}{eldbus\+\_\+message\+\_\+ref} (\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Increase message reference. \end{DoxyCompactList}\item 
void \hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref} (\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Decrease message reference. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_gab274a2173b1c60f5c2eefc8f5849fcb4}{eldbus\+\_\+message\+\_\+path\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message path. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_ga012630692ed14bde6e8039ef11588876}{eldbus\+\_\+message\+\_\+interface\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message interface. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_ga9c498bce53326c32e93ab2b7064325dd}{eldbus\+\_\+message\+\_\+member\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message member. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_ga05b0cd3e557a10348edd6707ab4b6584}{eldbus\+\_\+message\+\_\+destination\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message destination. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_ga4f977a0eed417cf774485a7c00572425}{eldbus\+\_\+message\+\_\+sender\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message sender. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Eldbus__Message_ga13868afb8599721294080c3d8e4b80b5}{eldbus\+\_\+message\+\_\+signature\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Get the Eldbus message signature. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$ \hyperlink{group__Eldbus__Message_gadc60e35ada73d1d4167cbca5f02d59dd}{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new} (const char $\ast$dest, const char $\ast$path, const char $\ast$iface, const char $\ast$method)
\begin{DoxyCompactList}\small\item\em Create a new message to invoke a method on a remote object. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$ \hyperlink{group__Eldbus__Message_ga53bd5261d6b82b494b8b8b31e62fb469}{eldbus\+\_\+message\+\_\+error\+\_\+new} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$error\+\_\+name, const char $\ast$error\+\_\+msg)
\begin{DoxyCompactList}\small\item\em Create a new message that is an error reply to another message. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$ \hyperlink{group__Eldbus__Message_ga0784dd7e8bed0d5a807fe6af74653c99}{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg)
\begin{DoxyCompactList}\small\item\em Create a message that is a reply to a method call. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__Message_ga3aeec7d275bef2bb244ed9a045540921}{eldbus\+\_\+message\+\_\+error\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$$\ast$name, const char $\ast$$\ast$text)
\begin{DoxyCompactList}\small\item\em Get the error text and name from a Eldbus\+\_\+\+Message. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}{eldbus\+\_\+message\+\_\+arguments\+\_\+get} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$signature,...)
\begin{DoxyCompactList}\small\item\em Get the arguments from an Eldbus\+\_\+\+Message. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__Message_gae0ceedd590ca9ebec3c8251219f06de5}{eldbus\+\_\+message\+\_\+arguments\+\_\+vget} (const \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$signature, va\+\_\+list ap)
\begin{DoxyCompactList}\small\item\em Get the arguments from an Eldbus\+\_\+\+Message using a va\+\_\+list. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}{eldbus\+\_\+message\+\_\+arguments\+\_\+append} (\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$signature,...)
\begin{DoxyCompactList}\small\item\em Append arguments into an Eldbus\+\_\+\+Message. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eldbus__Message_ga1d588f88c90d3e759172a86a0be7370b}{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend} (\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\+\_\+\+Message} $\ast$msg, const char $\ast$signature, va\+\_\+list ap)
\begin{DoxyCompactList}\small\item\em Append arguments into an Eldbus\+\_\+\+Message using a va\+\_\+list. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\hypertarget{group__Eldbus__Message_gae9becdb10cdef1dccf5b5f76e50264f1}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+ref@{eldbus\+\_\+message\+\_\+ref}}
\index{eldbus\+\_\+message\+\_\+ref@{eldbus\+\_\+message\+\_\+ref}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+ref}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Message}$\ast$ eldbus\+\_\+message\+\_\+ref (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_gae9becdb10cdef1dccf5b5f76e50264f1}


Increase message reference. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previous Eldbus\+\_\+\+Message with incremented refcount. 
\end{DoxyReturn}


References D\+B\+G.

\hypertarget{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+unref@{eldbus\+\_\+message\+\_\+unref}}
\index{eldbus\+\_\+message\+\_\+unref@{eldbus\+\_\+message\+\_\+unref}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+unref}]{\setlength{\rightskip}{0pt plus 5cm}void eldbus\+\_\+message\+\_\+unref (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}


Decrease message reference. 

When refcount reaches zero the message and all its resources will be freed.


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}


References D\+B\+G, E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+N\+O\+N\+E, and E\+I\+N\+A\+\_\+\+M\+A\+G\+I\+C\+\_\+\+S\+E\+T.



Referenced by eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new(), eldbus\+\_\+proxy\+\_\+property\+\_\+set(), and eldbus\+\_\+service\+\_\+signal\+\_\+emit().

\hypertarget{group__Eldbus__Message_gab274a2173b1c60f5c2eefc8f5849fcb4}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+path\+\_\+get@{eldbus\+\_\+message\+\_\+path\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+path\+\_\+get@{eldbus\+\_\+message\+\_\+path\+\_\+get}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+path\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+path\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_gab274a2173b1c60f5c2eefc8f5849fcb4}


Get the Eldbus message path. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message path. 
\end{DoxyReturn}
\hypertarget{group__Eldbus__Message_ga012630692ed14bde6e8039ef11588876}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+interface\+\_\+get@{eldbus\+\_\+message\+\_\+interface\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+interface\+\_\+get@{eldbus\+\_\+message\+\_\+interface\+\_\+get}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+interface\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+interface\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga012630692ed14bde6e8039ef11588876}


Get the Eldbus message interface. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message interface. 
\end{DoxyReturn}
\hypertarget{group__Eldbus__Message_ga9c498bce53326c32e93ab2b7064325dd}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+member\+\_\+get@{eldbus\+\_\+message\+\_\+member\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+member\+\_\+get@{eldbus\+\_\+message\+\_\+member\+\_\+get}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+member\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+member\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga9c498bce53326c32e93ab2b7064325dd}


Get the Eldbus message member. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message member. 
\end{DoxyReturn}
\hypertarget{group__Eldbus__Message_ga05b0cd3e557a10348edd6707ab4b6584}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+destination\+\_\+get@{eldbus\+\_\+message\+\_\+destination\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+destination\+\_\+get@{eldbus\+\_\+message\+\_\+destination\+\_\+get}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+destination\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+destination\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga05b0cd3e557a10348edd6707ab4b6584}


Get the Eldbus message destination. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message destination. 
\end{DoxyReturn}
\hypertarget{group__Eldbus__Message_ga4f977a0eed417cf774485a7c00572425}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+sender\+\_\+get@{eldbus\+\_\+message\+\_\+sender\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+sender\+\_\+get@{eldbus\+\_\+message\+\_\+sender\+\_\+get}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+sender\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+sender\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga4f977a0eed417cf774485a7c00572425}


Get the Eldbus message sender. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message sender. 
\end{DoxyReturn}
\hypertarget{group__Eldbus__Message_ga13868afb8599721294080c3d8e4b80b5}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+signature\+\_\+get@{eldbus\+\_\+message\+\_\+signature\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+signature\+\_\+get@{eldbus\+\_\+message\+\_\+signature\+\_\+get}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+signature\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ eldbus\+\_\+message\+\_\+signature\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga13868afb8599721294080c3d8e4b80b5}


Get the Eldbus message signature. 


\begin{DoxyParams}{Parameters}
{\em msg} & The Eldbus\+\_\+\+Message object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A string containing the dbus message signature. 
\end{DoxyReturn}
\hypertarget{group__Eldbus__Message_gadc60e35ada73d1d4167cbca5f02d59dd}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new@{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new}}
\index{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new@{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Message}$\ast$ eldbus\+\_\+message\+\_\+method\+\_\+call\+\_\+new (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{dest, }
\item[{const char $\ast$}]{path, }
\item[{const char $\ast$}]{iface, }
\item[{const char $\ast$}]{method}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_gadc60e35ada73d1d4167cbca5f02d59dd}


Create a new message to invoke a method on a remote object. 


\begin{DoxyParams}{Parameters}
{\em dest} & bus name or unique id of the remote application \\
\hline
{\em path} & object path \\
\hline
{\em iface} & interface name \\
\hline
{\em method} & name of the method to be called\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new Eldbus\+\_\+\+Message, free with \hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()} 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+T\+R\+U\+E, and eldbus\+\_\+message\+\_\+unref().



Referenced by eldbus\+\_\+object\+\_\+method\+\_\+call\+\_\+new(), and eldbus\+\_\+proxy\+\_\+method\+\_\+call\+\_\+new().

\hypertarget{group__Eldbus__Message_ga53bd5261d6b82b494b8b8b31e62fb469}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+error\+\_\+new@{eldbus\+\_\+message\+\_\+error\+\_\+new}}
\index{eldbus\+\_\+message\+\_\+error\+\_\+new@{eldbus\+\_\+message\+\_\+error\+\_\+new}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+error\+\_\+new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Message}$\ast$ eldbus\+\_\+message\+\_\+error\+\_\+new (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$}]{error\+\_\+name, }
\item[{const char $\ast$}]{error\+\_\+msg}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga53bd5261d6b82b494b8b8b31e62fb469}


Create a new message that is an error reply to another message. 


\begin{DoxyParams}{Parameters}
{\em msg} & the message we're replying to \\
\hline
{\em error\+\_\+name} & the error name \\
\hline
{\em error\+\_\+msg} & the error message string\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new Eldbus\+\_\+\+Message, free with \hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()} 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.



Referenced by eldbus\+\_\+pending\+\_\+cancel().

\hypertarget{group__Eldbus__Message_ga0784dd7e8bed0d5a807fe6af74653c99}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new@{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new}}
\index{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new@{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\+\_\+\+Message}$\ast$ eldbus\+\_\+message\+\_\+method\+\_\+return\+\_\+new (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga0784dd7e8bed0d5a807fe6af74653c99}


Create a message that is a reply to a method call. 


\begin{DoxyParams}{Parameters}
{\em msg} & the message we're replying to\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
new Eldbus\+\_\+\+Message, free with \hyperlink{group__Eldbus__Message_ga25e968b4f10dc8ee3ab31cbb66a0b8af}{eldbus\+\_\+message\+\_\+unref()} 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eldbus__Message_ga3aeec7d275bef2bb244ed9a045540921}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+error\+\_\+get@{eldbus\+\_\+message\+\_\+error\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+error\+\_\+get@{eldbus\+\_\+message\+\_\+error\+\_\+get}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+error\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+error\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$$\ast$}]{name, }
\item[{const char $\ast$$\ast$}]{text}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga3aeec7d275bef2bb244ed9a045540921}


Get the error text and name from a Eldbus\+\_\+\+Message. 

If 
\begin{DoxyParams}{Parameters}
{\em msg} & is an error message return E\+I\+N\+A\+\_\+\+T\+R\+U\+E and fill in the name and text of the error.\\
\hline
{\em msg} & The message containing the error \\
\hline
{\em name} & Variable in which to store the error name or {\ttfamily N\+U\+L\+L} if it's not desired. \\
\hline
{\em text} & Variable in which to store the error text or {\ttfamily N\+U\+L\+L} if it's not desired. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E on success, else E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+arguments\+\_\+get@{eldbus\+\_\+message\+\_\+arguments\+\_\+get}}
\index{eldbus\+\_\+message\+\_\+arguments\+\_\+get@{eldbus\+\_\+message\+\_\+arguments\+\_\+get}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+arguments\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+arguments\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$}]{signature, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}


Get the arguments from an Eldbus\+\_\+\+Message. 

Get the arguments of an Eldbus\+\_\+\+Message storing them in the locations pointed to by the pointer arguments that follow param signature. Each pointer argument must be of a type that is appropriate for the correspondent complete type in param signature. For complex types such as arrays, structs, dictionaries or variants, a pointer to Eldbus\+\_\+\+Message\+\_\+\+Iter$\ast$ must be provided.


\begin{DoxyParams}{Parameters}
{\em msg} & The message to get the arguments from. \\
\hline
{\em signature} & The signature of the arguments user is expecting to read from \\
\hline
{\em msg} & \\
\hline
{\em ...} & The pointers in which to store the message arguments\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E if the arguments were read succesfully and stored in the respective pointer arguments. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Eldbus__Message_gae0ceedd590ca9ebec3c8251219f06de5}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+arguments\+\_\+vget@{eldbus\+\_\+message\+\_\+arguments\+\_\+vget}}
\index{eldbus\+\_\+message\+\_\+arguments\+\_\+vget@{eldbus\+\_\+message\+\_\+arguments\+\_\+vget}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+arguments\+\_\+vget}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+arguments\+\_\+vget (
\begin{DoxyParamCaption}
\item[{const {\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$}]{signature, }
\item[{va\+\_\+list}]{ap}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_gae0ceedd590ca9ebec3c8251219f06de5}


Get the arguments from an Eldbus\+\_\+\+Message using a va\+\_\+list. 


\begin{DoxyParams}{Parameters}
{\em msg} & The message to get the arguments from. \\
\hline
{\em signature} & The signature user is expecting to read from param msg. \\
\hline
{\em ap} & The va\+\_\+list containing the pointer arguments.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eldbus__Message_ga7aec6beec8e8a73982c7f43bd1322df8}{eldbus\+\_\+message\+\_\+arguments\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E if the arguments were read succesfully and stored in the respective pointer arguments. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+arguments\+\_\+append@{eldbus\+\_\+message\+\_\+arguments\+\_\+append}}
\index{eldbus\+\_\+message\+\_\+arguments\+\_\+append@{eldbus\+\_\+message\+\_\+arguments\+\_\+append}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+arguments\+\_\+append}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+arguments\+\_\+append (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$}]{signature, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}


Append arguments into an Eldbus\+\_\+\+Message. 

Append arguments into an Eldbus\+\_\+\+Message according to the param signature provided. For each complete type in param signature, a value of the corresponding type must be provided.

This function supports only basic types. For complex types use eldbus\+\_\+message\+\_\+iter\+\_\+$\ast$ family of functions.


\begin{DoxyParams}{Parameters}
{\em msg} & The message in which arguments are being appended. \\
\hline
{\em signature} & Signature of the arguments that are being appended. \\
\hline
{\em ...} & Values of each argument to append in param msg.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E on success, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E otherwise. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Eldbus__Message_ga1d588f88c90d3e759172a86a0be7370b}{\index{Message@{Message}!eldbus\+\_\+message\+\_\+arguments\+\_\+vappend@{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend}}
\index{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend@{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend}!Message@{Message}}
\subsubsection[{eldbus\+\_\+message\+\_\+arguments\+\_\+vappend}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} eldbus\+\_\+message\+\_\+arguments\+\_\+vappend (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\+\_\+\+Message} $\ast$}]{msg, }
\item[{const char $\ast$}]{signature, }
\item[{va\+\_\+list}]{ap}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Message_ga1d588f88c90d3e759172a86a0be7370b}


Append arguments into an Eldbus\+\_\+\+Message using a va\+\_\+list. 


\begin{DoxyParams}{Parameters}
{\em msg} & The message in which arguments are being appended. \\
\hline
{\em signature} & Signature of the arguments that are being appended. \\
\hline
{\em ap} & The va\+\_\+list containing the arguments to append.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Eldbus__Message_ga933ee5158cb25619c9b272aa1765d069}{eldbus\+\_\+message\+\_\+arguments\+\_\+append()}.
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E on success, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E otherwise. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.



Referenced by eldbus\+\_\+service\+\_\+signal\+\_\+emit().

