DBus Daemon Data process

Aubert Malek (MM) malek.aubert at external.magnetimarelli.com
Mon Apr 13 00:18:00 PDT 2015


Ok Great. That's what I thought so why are the messages I'm getting before send, different from DBus message format?
I log the message to send right before the send socket functions (in do_writing loop) and I have something like the message I attached to the mail.
Does the Daemon split the messages before send?


-----Message d'origine-----
De : dbus [mailto:dbus-bounces at lists.freedesktop.org] De la part de Thiago Macieira
Envoyé : vendredi 10 avril 2015 18:50
À : dbus at lists.freedesktop.org
Objet : Re: DBus Daemon Data process

On Friday 10 April 2015 16:06:51 Aubert Malek wrote:
> I'm trying to log DBus messages recieved by then sent by DBus Daemon
> but I'm little lost in the source code. Can someone explain to me  how
> the messages are processed by the daemon please? I can get the
> incoming message as expected (header+header fields+body) but when I
> log the message right before send through sockets I don't get this
> format (header+header
> fields+body). In what format does Dbus daemon send to socket? In fact
> fields+I can
> see in my raw datas a dbus message (6c 01 00 01 ....) but there are
> others data logged before. Can you tell what do these data represent?

The format received is the same format as sent.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

_______________________________________________
dbus mailing list
dbus at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus

VISITEZ NOTRE NOUVEAU SITE WEB! - VISIT OUR NEW WEB SITE!   www.magnetimarelli.com

Confidential Notice: This message - including its attachments - may contain proprietary, confidential and/or legally protected information and is intended solely for the use of the designated addressee(s) above. If you are not the intended recipient be aware that any downloading, copying, disclosure, distribution or use of the contents of the above information is strictly prohibited.
If you have received this communication by mistake, please forward the message back to the sender at the email address above, delete the message from all mailboxes and any other electronic storage medium and destroy all copies.
Disclaimer Notice: Internet communications cannot be guaranteed to be safe or error-free. Therefore we do not assure that this message is complete or accurate and we do not accept liability for any errors or omissions in the contents of this message.

 Remarque de confidentialité : Ce message – et ses pièces jointes – peut contenir des informations confidentielles et/ou protégées par la loi, destinées uniquement à l'usage du destinataire désigné ci-dessus. Si vous n'êtes pas le destinataire prévu,  soyez conscient que tout téléchargement, copie,  divulgation,  distribution ou utilisation du contenu de l'information ci-dessus sont strictement interdits.
Si vous avez reçu cette communication par erreur, merci de retourner le message à l'expéditeur à l'adresse email ci-dessus, de le supprimer de toutes les boîtes aux lettres, de tous supports électroniques de stockage et  d’en détruire toutes les copies.
 Avis de non-responsabilité : les communications Internet ne peuvent être assurées authentiques ou sans erreur. C'est pourquoi nous ne garantissons pas l’intégralité ni l’exactitude de ce message et nous n'acceptons aucune responsabilité pour toute erreur ou omission dans le contenu de ce message.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.txt
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20150413/1bdc6780/attachment.txt>


More information about the dbus mailing list