KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > ubik > mcast > SyncEventListener


1 package org.sapia.ubik.mcast;
2
3
4 /**
5  * Specifies the behavior of listeners of <code>MulticastEvent</code>
6  * instances.
7  *
8  * @author Yanick Duchesne
9  * <dl>
10  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
11  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
12  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
13  * </dl>
14  */

15 public interface SyncEventListener {
16   /**
17    * Receives multicast events.
18    *
19    * @param evt a <code>RemoteEvent</code>.
20    * @return an <code>Object</code> consisting of
21    * the synchronous response that is expected from this
22    * intance. This method can return <code>null</code>, if
23    * such can be the case. If an exception must be signaled
24    * to the caller, then it should be returned.
25    */

26   public Object JavaDoc onSyncEvent(RemoteEvent evt);
27 }
28
Popular Tags