Package src :: Module osa_dispatcher :: Class Notifier
[hide private]
[frames] | no frames]

Class Notifier

source code

Instance Methods [hide private]
 
__init__(self) source code
 
get_next_poll_interval(self) source code
 
set_jabber_connection(self, jabber_connection) source code
 
get_running_clients(self) source code
 
notify_jabber_nodes(self) source code
Class Variables [hide private]
  _query_get_pending_clients = <spacewalk.server.rhnSQL.sql_base...
  _query_get_running_clients = <spacewalk.server.rhnSQL.sql_base...
Class Variable Details [hide private]

_query_get_pending_clients

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998055366980\
8; statement=
        select a.id, sa.server_id, pc.jabber_id,
               date_diff_in_days(current_timestamp, earliest_action) *\
 86400 delta
          from
               rhnServerAction sa,
               rhnAction a,
...

_query_get_running_clients

Value:
<spacewalk.server.rhnSQL.sql_base.Statement instance at 13998055366988\
0; statement=
        select count(distinct server_id) clients
          from rhnServerAction
         where status = 1 -- picked up