[Click] Timed Source reading data length from file

Laercio Cruvinel Junior lcruvinel at inesc-0.tagus.ist.utl.pt
Thu Feb 22 02:53:16 EST 2007


The attached files .cc and .hh derive from class TimedSource and implement
the  FromFileTimedSource class to generate timed packets reading their
lengths from a file. Syntax is:
FromFileTimedSource([INTERVAL,FILE,keywords]). Except for parameter FILE,
which is the file name, all other parameters are identical to those of
TimedSource class; but parameter STOP is here true by default.
Also anexed are an example data file and a matching click scrip which also
uses other Click features and elements.
Comments and suggestions are appreciated - always improving.

Regards,

Laercio Cruvinel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FromFile.click
Type: application/octet-stream
Size: 700 bytes
Desc: not available
Url : https://pdos.csail.mit.edu/pipermail/click/attachments/20070222/15e5dfb0/FromFile.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f.dat
Type: application/octet-stream
Size: 21 bytes
Desc: not available
Url : https://pdos.csail.mit.edu/pipermail/click/attachments/20070222/15e5dfb0/f.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fromfiletimedsource.hh
Type: text/x-c++hdr
Size: 1936 bytes
Desc: not available
Url : https://pdos.csail.mit.edu/pipermail/click/attachments/20070222/15e5dfb0/fromfiletimedsource.hh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fromfiletimedsource.cc
Type: text/x-c++src
Size: 5474 bytes
Desc: not available
Url : https://pdos.csail.mit.edu/pipermail/click/attachments/20070222/15e5dfb0/fromfiletimedsource.cc


More information about the click mailing list