public class ViewDemo extends ReceiverAdapter
Constructor and Description |
---|
ViewDemo() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
void |
start(java.lang.String props) |
void |
suspect(Address suspected_mbr)
Called when a member is suspected
|
void |
viewAccepted(View new_view)
Called when a change in membership has occurred.
|
public void viewAccepted(View new_view)
ReceiverAdapter
Note that on reception of the first view (a new member just joined), the channel will not yet
be in the connected state. This only happens when Channel.connect(String)
returns.
viewAccepted
in interface MembershipListener
viewAccepted
in class ReceiverAdapter
public void suspect(Address suspected_mbr)
suspect
in interface MembershipListener
suspect
in class ReceiverAdapter
public void start(java.lang.String props) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
Copyright © 1998-2020 Red Hat. All Rights Reserved.