KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > net > nio > CycleListener


1 package org.sapia.ubik.net.nio;
2
3 /**
4  * An instance of this interface is meant to be notified when the
5  * <code>next()</code> method is called on a <code>Cycle</code> instance.
6  *
7  * @see Cycle#next()
8  *
9  * @author Yanick Duchesne
10  *
11  * <dl>
12  * <dt><b>Copyright: </b>
13  * <dd>Copyright &#169; 2002-2005 <a HREF="http://www.sapia-oss.org">Sapia Open
14  * Source Software </a>. All Rights Reserved.</dd>
15  * </dt>
16  * <dt><b>License: </b>
17  * <dd>Read the license.txt file of the jar or visit the <a
18  * HREF="http://www.sapia-oss.org/license.html">license page </a> at the Sapia
19  * OSS web site</dd>
20  * </dt>
21  * </dl>
22  */

23 public interface CycleListener {
24
25   /**
26    * Called when the <code>next()</code> method has been called on the passed
27    * in cycle.
28    *
29    * @param cycle
30    * a <code>Cycle</code>
31    */

32   public void onNextState(Cycle cycle);
33
34 }
35
Popular Tags