Hi,
currently I am implementing an own analyzer in PeerfactSim. I know that the analyser class has to be declared in the xml config file of the experiment. e.g.:
<Analyzer class=”org.peerfact.impl.overlay.dht.chord.chord.analyzer.myAnalyzer” />.
My question now is:
how can one hand over parameter to the class?
e.g.:
<Analyzer
class=”org.peerfact.impl.overlay.dht.chord.chord.analyzer.myAnalyzer”
param1 = “…”
param2 = “…”
/>
Is it possible to reach the variables directly if param1 and param2 are declared public in my analyzer class?
Or do I have to use getter/setter methods?
Or do I have to change the Scenario Builder or something like that?
best regards
Tobi