Project

General

Profile

« Previous | Next » 

Revision 429ebb9c

Added by Marc Dequènes over 13 years ago

  • ID 429ebb9c1a44108e2da28316170ad4345617a58d

[evol] BotnetTask DSL: now that we have one Task per task, close conversation thread as soon as the task is finished

View differences:

lib/cyborghood/cyborg/botnet/backend/unix.rb
File.join(Config::RUN_DIR, peer.downcase + ".sock")
end
def contact_peer(peer, &block)
super(peer, block) do |callback|
def contact_peer(peer, dont_open_new_connection = false, &block)
super(peer, block, dont_open_new_connection) do |callback|
EventMachine.connect_unix_domain(peer_socket(peer), Conversation, self, callback)
end
end

Also available in: Unified diff