[Telepathy] python_iface_messaging/example.py with telepathy-haze
Anand CVR
anandcvr01 at gmail.com
Thu Jan 21 10:20:40 PST 2010
Hi -
I'm a telepathy newbie, still learning and experimenting. I tried using
the python_iface_messaging/example.py given in the book to connect to my
ejabber server. It worked fine. No problem.
Now, I wanted to see if the same example would work if I just changed the CM
from gabble to haze. It didn't :(
Can someone please let me know why?
The only code change I did in the script was change
self.cm = cm = reg.GetManager('gabble')
to
self.cm = cm = reg.GetManager('haze')
I've pasted below the last few dbus-monitor messages from both runs.
Run with gabble
----------------------
signal sender=:1.2 -> dest=(null destination) serial=9
path=/org/freedesktop/Telepathy/Connection/gabble/jabber/anand_40cvr01_2elf_2ecomll_2ecom_2fTelepathy_2ebf6abd68;
interface=org.freedesktop.Telepathy.Connection; member=StatusChanged
uint32 1
uint32 1
method return sender=:1.2 -> dest=:1.1 reply_serial=16
signal sender=:1.2 -> dest=(null destination) serial=11
path=/org/freedesktop/Telepathy/Connection/gabble/jabber/anand_40cvr01_2elf_2ecomll_2ecom_2fTelepathy_2ebf6abd68;
interface=org.freedesktop.Telepathy.Connection.Interface.Presence;
member=PresenceUpdate
array [
dict entry(
uint32 1
struct {
uint32 0
array [
dict entry(
string "available"
array [
]
)
]
}
)
]
signal sender=:1.2 -> dest=(null destination) serial=12
path=/org/freedesktop/Telepathy/Connection/gabble/jabber/anand_40cvr01_2elf_2ecomll_2ecom_2fTelepathy_2ebf6abd68;
interface=org.freedesktop.Telepathy.Connection.Interface.SimplePresence;
member=PresencesChanged
array [
dict entry(
uint32 1
struct {
uint32 2
string "available"
string ""
}
)
]
signal sender=:1.2 -> dest=(null destination) serial=13
path=/org/freedesktop/Telepathy/Connection/gabble/jabber/anand_40cvr01_2elf_2ecomll_2ecom_2fTelepathy_2ebf6abd68;
interface=org.freedesktop.Telepathy.Connection; member=StatusChanged
uint32 0
uint32 1
Run with Haze
-------------------
signal sender=:1.2 -> dest=(null destination) serial=111
path=/org/freedesktop/Telepathy/Connection/haze/jabber/anand_40cvr01_2elf_2ecomll_2ecom;
interface=org.freedesktop.Telepathy.Connection; member=StatusChanged
uint32 1
uint32 1
method return sender=:1.2 -> dest=:1.1 reply_serial=16
method call sender=:1.1 -> dest=:1.2 serial=17
path=/org/freedesktop/Telepathy/Connection/haze/jabber/anand_40cvr01_2elf_2ecomll_2ecom;
interface=org.freedesktop.Telepathy.Connection; member=Disconnect
signal sender=:1.2 -> dest=(null destination) serial=113
path=/org/freedesktop/Telepathy/Connection/haze/jabber/anand_40cvr01_2elf_2ecomll_2ecom;
interface=org.freedesktop.Telepathy.Connection; member=StatusChanged
uint32 2
uint32 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/telepathy/attachments/20100121/31a11d5f/attachment.htm
More information about the telepathy
mailing list