Module streambase
source code
Core XMPP stream functionality.
- Normative reference:
-
|
|
stanza_factory(xmlnode,
stream=None)
Creates Iq, Message or Presence object for XML stanza xmlnode |
source code
|
|
|
|
STREAM_NS = 'http://etherx.jabber.org/streams'
|
|
|
BIND_NS = 'urn:ietf:params:xml:ns:xmpp-bind'
|
|
|
__package__ = 'pyxmpp'
|
Imports:
libxml2,
socket,
os,
time,
random,
threading,
errno,
logging,
xmlextra,
ExpiringDictionary,
to_utf8,
from_utf8,
Stanza,
StreamErrorNode,
Iq,
Presence,
Message,
JID,
resolver,
StanzaProcessor,
StreamError,
StreamEncryptionRequired,
HostMismatch,
ProtocolError,
DNSError,
UnexpectedCNAMEError,
FatalStreamError,
StreamParseError,
StreamAuthenticationError