.received_messages(&block) ⇒ Object

.run ⇒ Object

30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

# File 'lib/daemon_kit/jabber.rb', line 30defrunDaemonKit.logger.warn"Please use the new XMPP daemons, this class is deprecated"DaemonKit.logger.info"Starting jabber loop"loopdoprocess_messagesprocess_updatesprocess_subscriptionsbeginsleep1rescueInterruptDaemonKit.logger.warn"Jabber loop interrupted"breakendendend