001package 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")
002
003/**
004 * Implement this in any harvester and register it here to receive kicks.
005 * 
006 */
007public interface KickReceiver {
008    /**
009     * Is called on {@linkplain Kicker#broadcast(Kick)}. Don't do any processing
010     * in this routine, because it is executed by the Kicker (dispatcher).
011     * Basically you only want to decide whether the Kick is interesting and
012     * schedule an action accordingly.
013     * 
014     * @param kick
015     *            The kick-event that happened.
016     */
017    public void handle(Kick kick);
018}