wiki:Documentation/OtherApps/DITG/ITGCBRReceiver
#
# Define a prototype
#
require 'handler/prototype'
require 'handler/filter'
require 'handler/appDefinition'

p = Prototype.create("test:proto:itgreceiver")
p.name = "ITG Receiver"
p.description = "Nodes which receive packets"
p.defProperty('logfile', 'Logfile')

itgr = p.addApplication('itgr', "test:app:itgr")
itgr.bindProperty('l','logfile')

if $0 == __FILE__
  p.to_xml.write($stdout, 2)
  puts
end

Last modified 18 years ago Last modified on Sep 5, 2006, 9:55:32 PM
Note: See TracWiki for help on using the wiki.