# File lib/packet/packet_worker.rb, line 41 def send_request(options = {}) t_data = options[:data] if t_callback = options[:callback] callback_hash[t_callback.signature] = t_callback send_data(:data => t_data,:function => options[:function],:callback_signature => t_callback.signature) else send_data(:data => t_data,:function => options[:function],:requested_worker => options[:worker],:requesting_worker => worker_name,:type => :request) end end