1 /*
2 * Replica is published under the terms
3 * of the Apache Software License.
4 */
5 package replica.group.event;
6
7 /***
8 * @author Pedro Costa
9 * @author Helder Silva
10 * @since 19/Jan/2004
11 */
12 public interface GroupListener {
13
14 /***
15 * Called when a new regular message is received.
16 * @param event
17 */
18 void message(MessageEvent event);
19
20 /***
21 * Called when the view changes, by member leaving or joining the group.
22 * @param event
23 */
24 void viewChanged(ViewEvent event);
25
26 /***
27 * Called when a suspicious messages is received. This message are received,
28 * when a member is suspected of having crashed.
29 * @param event
30 */
31 void suspect(SuspectEvent event);
32 }
This page was automatically generated by Maven