protected class UnicastTest.MyReceiver extends ReceiverAdapter
| Modifier and Type | Field and Description |
|---|---|
protected AtomicLong |
current_value |
protected long |
print |
protected long |
start |
protected AtomicLong |
total_bytes |
| Modifier | Constructor and Description |
|---|---|
protected |
MyReceiver() |
| Modifier and Type | Method and Description |
|---|---|
void |
receive(Message msg)
Called when a message is received.
|
void |
viewAccepted(View new_view)
Called when a change in membership has occurred.
|
protected long start
protected long print
protected AtomicLong current_value
protected AtomicLong total_bytes
public void receive(Message msg)
ReceiverAdapterreceive in interface MessageListenerreceive in class ReceiverAdapterpublic void viewAccepted(View new_view)
ReceiverAdapterChannel.connect(String) returns.viewAccepted in interface MembershipListenerviewAccepted in class ReceiverAdapterCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.