Project

General

Profile

« Previous | Next » 

Revision 14dd8318

Added by Marc Dequènes about 13 years ago

  • ID 14dd8318e224f9eb83792c48db9e7c91e4ba8ce8

[evol] Protocol/DSL: implemented node existence check

View differences:

lib/cyborghood/cyborg/botnet/conversation.rb
@conversation.protocol.send_request_call(self, *args, &callback)
end
# convenience method
def exists?(node, &callback)
@conversation.protocol.send_request_exists(self, node, &callback)
end
# convenience method
def notify(event_name, event_info)
@conversation.protocol.send_notify_event(self, event_name, event_info)

Also available in: Unified diff