package com.speckled.specksim.imp.state; /** * Apply this interface to the states of specks that have the notion * of a leader * * @author ryanm */ public interface LeaderAware { /** * Gets the ID of the current leader speck * * @return The leader's ID, or -1 if this speck does not recognise * any leader yet */ public abstract int getLeaderID(); }