Package src :: Module osad_client :: Class Client
[hide private]
[frames] | no frames]

Class Client

source code


hash(x)

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
set_config_options(self, config) source code
 
set_debug_level(self, debug_level) source code
 
set_dispatchers(self, dispatchers) source code
 
start(self, username, password, resource) source code
 
_create_signature(self, jid, action) source code
 
_lookup_dispatcher(self, jid) source code
 
_fix_jid(self, jid) source code
 
_check_signature(self, stanza, actions=None) source code
 
_message_callback(self, client, stanza) source code
 
process_loop_hook(self) source code
 
run_rhn_check_async(self)
Runs rhn_check and keeps a handle that it is monitored during the event loop
source code
 
unstick_contacts(self, jids)
If we are waiting for 'subscribed' presence stanzas for too long, ask again
source code
 
needs_unsticking(self, jid)
Returns True if jid is in state [none + ask] or [from + ask]
source code

Inherited from jabber_lib.JabberClient: add_trusted_cert, auth, cancel_subscription, connect, disconnect, disconnectHandler, fileno, get_one_stanza, get_unique_id, header, jid_available, match_stanza_tags, process, read, register, retrieve_roster, send, send_message, send_presence, set_jid_available, set_jid_unavailable, ssl_verify_callback, subscribe_to_presence, verify_peer, waitForResponse

Inherited from jabber.jabber.Client: addRosterItem, deregister, discoverInfo, discoverItems, getRegInfo, getRoster, removeRosterItem, requestAgents, requestRegInfo, requestRoster, sendInitPresence, sendPresence, sendRegInfo, setRegInfo, updateRosterItem

Inherited from jabber.jabber.Client (private): _IqAgentsResult, _IqRegisterResult, _IqRosterManage, _discover, _presenceHandler

Inherited from jabber.jabber.Connection: SendAndWaitForResponse, dispatch, getAnID, registerHandler, registerProtocol, setDisconnectHandler, setIqHandler, setMessageHandler, setPresenceHandler

Inherited from jabber.jabber.Connection (private): _expectedIqHandler

Inherited from jabber.xmlstream.Client: getSocket

Inherited from jabber.xmlstream.Stream: disconnected, getIncomingID, getOutgoingID, log, timestampLog, write

Inherited from jabber.xmlstream.NodeBuilder: DEBUG, getDom, handle_data, unknown_endtag, unknown_starttag

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  RHN_CHECK_CMD = '/usr/sbin/rhn_check'

Inherited from jabber_lib.JabberClient: BLOCK_SIZE

Inherited from jabber_lib.JabberClient (private): _seq

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_create_signature(self, jid, action)

source code 
Overrides: jabber_lib.JabberClient._create_signature

_fix_jid(self, jid)

source code 
Overrides: jabber_lib.JabberClient._fix_jid

_check_signature(self, stanza, actions=None)

source code 
Overrides: jabber_lib.JabberClient._check_signature

process_loop_hook(self)

source code 
Overrides: jabber_lib.JabberClient.process_loop_hook