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 11 years ago Last modified on 09/05/06 17:55:32