package votorola.a.diff.harvest.kick;// Copyright 2012. Christian Weilbach.  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Votorola Software")

/**
 * Implement this in any harvester and register it here to receive kicks.
 * 
 */
public interface KickReceiver {
    /**
     * Is called on {@linkplain Kicker#broadcast(Kick)}. Don't do any processing
     * in this routine, because it is executed by the Kicker (dispatcher).
     * Basically you only want to decide whether the Kick is interesting and
     * schedule an action accordingly.
     * 
     * @param kick
     *            The kick-event that happened.
     */
    public void handle(Kick kick);
}