Package src :: Module jabber_lib
[hide private]
[frames] | no frames]

Module jabber_lib

source code

Classes [hide private]
  Runner
  InvalidCertError
  JabberProtocolNode
  JabberIqNode
  JabberMessageNode
  JabberPresenceNode
  Handlers
  RestartRequested
  JabberError
  NeedRestart
  TimeoutError
  SSLError
Raised when a lower-level SSL error is caught
  SSLHandshakeError
Raised when the SSL handshake failed
  SSLDisabledError
Raised if the server does not support SSL
  JabberConnectionError
Raised when we were unable to make a jabber connection
  JabberQualifiedError
  JabberClient
  SSLSocket
  SSLVerifyError
  Roster
  Sendall
This class exists here because python 1.5.2 does not support a sendall() method for sockets
Functions [hide private]
 
check_cert(cert_path) source code
 
sign(secret_key, *values) source code
 
my_debug(*args) source code
 
generate_random_string(length=20) source code
 
push_to_background() source code
 
strip_resource(jid) source code
 
extract_traceback() source code
Variables [hide private]
  NS_RHN = 'http://jabber.rhn.redhat.com/jabber'
  NS_RHN_SIGNED = 'http://jabber.rhn.redhat.com/jabber/signed'
  NS_RHN_PRESENCE_SUBSCRIBE = 'http://jabber.rhn.redhat.com/jabb...
  NS_RHN_PRESENCE_SUBSCRIBED = 'http://jabber.rhn.redhat.com/jab...
  NS_RHN_PRESENCE_UNSUBSCRIBE = 'http://jabber.rhn.redhat.com/ja...
  NS_RHN_MESSAGE_REQUEST_CHECKIN = 'http://jabber.rhn.redhat.com...
  NS_RHN_MESSAGE_RESPONSE_CHECKIN = 'http://jabber.rhn.redhat.co...
  NS_RHN_MESSAGE_REQUEST_PING = 'http://jabber.rhn.redhat.com/ja...
  NS_RHN_MESSAGE_RESPONSE_PING = 'http://jabber.rhn.redhat.com/j...
  NS_STARTTLS = 'urn:ietf:params:xml:ns:xmpp-tls'
  NS_STANZAS = 'urn:ietf:params:xml:ns:xmpp-stanzas'
  __package__ = 'src'
Variables Details [hide private]

NS_RHN_PRESENCE_SUBSCRIBE

Value:
'http://jabber.rhn.redhat.com/jabber/presence/subscribe'

NS_RHN_PRESENCE_SUBSCRIBED

Value:
'http://jabber.rhn.redhat.com/jabber/presence/subscribed'

NS_RHN_PRESENCE_UNSUBSCRIBE

Value:
'http://jabber.rhn.redhat.com/jabber/presence/unsubscribe'

NS_RHN_MESSAGE_REQUEST_CHECKIN

Value:
'http://jabber.rhn.redhat.com/jabber/message/request/checkin'

NS_RHN_MESSAGE_RESPONSE_CHECKIN

Value:
'http://jabber.rhn.redhat.com/jabber/message/response/checkin'

NS_RHN_MESSAGE_REQUEST_PING

Value:
'http://jabber.rhn.redhat.com/jabber/message/request/ping'

NS_RHN_MESSAGE_RESPONSE_PING

Value:
'http://jabber.rhn.redhat.com/jabber/message/response/ping'