io.nuun.kernel.api.plugin
Class RoundEnvironmentInternal

java.lang.Object
  extended by io.nuun.kernel.api.plugin.RoundEnvironmentInternal
All Implemented Interfaces:
RoundEnvironment

public class RoundEnvironmentInternal
extends Object
implements RoundEnvironment

Default implementation of RoundEnvironment.


Constructor Summary
RoundEnvironmentInternal()
          Constructor.
 
Method Summary
 boolean firstRound()
           
 void incrementRoundNumber()
          Increments the round number.
 int roundNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundEnvironmentInternal

public RoundEnvironmentInternal()
Constructor.

Method Detail

roundNumber

public int roundNumber()
Specified by:
roundNumber in interface RoundEnvironment
Returns:
the current round number.

incrementRoundNumber

public void incrementRoundNumber()
Increments the round number.


firstRound

public boolean firstRound()
Specified by:
firstRound in interface RoundEnvironment
Returns:
true if we are in the first round.


Copyright © 2012-2015. All Rights Reserved.