[Bro-Dev] Child analyzer question

Gregor Maier gregor at icir.org
Tue Aug 9 10:53:53 PDT 2011


I want to add a child analyzer to my ConnSizeAnalyzer. I want to do this 
statically based on the child's Available() class method.  The code will 
look something like:

   if (ChildAnalyzerClass::Available())

The question now is: do I add the child in the parent's constructor or 
the parent's Init() method? (I think it should work in either case and 
that Init() would be the right place to do it, but I'm not sure)

Gregor Maier
<gregor at icir.org>  <gregor at icsi.berkeley.edu>
Int. Computer Science Institute (ICSI)
1947 Center St., Ste. 600
Berkeley, CA 94704, USA

More information about the bro-dev mailing list