Revision e321ca6f
Added by Marc Dequènes over 13 years ago
- ID e321ca6f2a16f3d882f0c1008a71b3f55cf9e102
lib/cyborghood/cyborg/botnet.rb | ||
---|---|---|
|
||
require 'cyborghood/cyborg/interface'
|
||
require 'cyborghood/cyborg/conversation'
|
||
require 'cyborghood/cyborg/botnet_dsl'
|
||
require 'set'
|
||
|
||
module CyborgHood
|
||
... | ... | |
end
|
||
end
|
||
end
|
||
|
||
# start of DSL
|
||
def conversation_with(peer, &block)
|
||
BotnetDSL::Conversation.run_dsl(self, peer, &block)
|
||
end
|
||
end
|
||
|
||
module BotNet
|
Also available in: Unified diff
[evol] created a DSL for client-side calls (several conditions (calls only at the moment) can be joined together in order to exploit parallel tasks via asynchronous calls)