Re: [Twisted-Python] XmlStream and addObserver - root element's name?

2008-12-17 Thread Alvin Delagon
Hello Marcin, XmlStream is an implementation of XMPP/Jabber protocol (which is widely used for Instant Messaging). If you have time please read about this on www.xmpp.org. The reason why /frame handler was not executed is because XMPP/Jabber sessions starts and ends with streams like for example:

[Twisted-Python] XmlStream and addObserver - root element's name?

2008-12-17 Thread Marcin Gliński
Hello! There's a problem I can't find an answer to. I'd like to design Xml based protocol. I've found XmlStream, read doc and found addObserver method. I wrote simple code: class XmlTest(xmlstream.XmlStream): # (...) def connectionMade(self): xmlstream.XmlStream.connectionMade(sel

Re: [Twisted-Python] XmlStream and addObserver - root element's name?

2008-12-17 Thread Marcin Gliński
2008/12/17 Alvin Delagon: > XmlStream is an implementation of XMPP/Jabber protocol (which is widely used > for Instant Messaging). Which XmlStream? I've found two: XMPP: twisted.words.protocols.jabber.xmlstream X-ish: twisted.words.xish.xmlstream I've been trying to use the second one. Are they