protected class RELAY.Receiver extends ReceiverAdapter
Modifier | Constructor and Description |
---|---|
protected |
Receiver() |
Modifier and Type | Method and Description |
---|---|
void |
receive(Message msg)
Called when a message is received.
|
void |
viewAccepted(View view)
Called when a change in membership has occurred.
|
public void receive(Message msg)
ReceiverAdapter
receive
in interface MessageListener
receive
in class ReceiverAdapter
public void viewAccepted(View view)
ReceiverAdapter
Channel.connect(String)
returns.viewAccepted
in interface MembershipListener
viewAccepted
in class ReceiverAdapter
Copyright © 1998-2020 Red Hat. All Rights Reserved.