Displaying 1 result from an estimated 1 matches for "chat_work".
Did you mean:
chat_worker
2009 Dec 24
0
can't return array object from worker
...ChatWorker < BackgrounDRb::MetaWorker
require ''xmpp4r''
require ''xmpp4r/bytestreams''
require ''xmpp4r/roster/helper/roster''
require ''xmpp4r/roster/iq/roster''
include Jabber
Jabber::debug = true
set_worker_name :chat_worker
def create(args = nil)
# this method is called, when worker is loaded for the first time
logger.info ''Initializing Chat Worker.......''
end
def connect_chat(args)
logger.info "Conencting chat.......#{args[:username]} --"
jid = Jabber::JID.new(args[...