jade.core.sam
Interface CounterValueProvider


public interface CounterValueProvider

A provider of values for a given counter. The isDifferential() method indicates whether provided values are differential or total. In the former case if the counter value is now H and was K when getValue() was invoked at previous round, getValue() must return H-K.


Method Summary
 long getValue()
           
 boolean isDifferential()
           
 

Method Detail

getValue

long getValue()

isDifferential

boolean isDifferential()


These are the official JADE API. For these API backward compatibility is guaranteed accross JADE versions