public class PingPong extends ReceiverAdapter
PingPongDatagram for the same program using MulticastSockets, and
LatencyTest for simple latency tests (not round trip).| Constructor and Description |
|---|
PingPong() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
receive(Message msg)
Called when a message is received.
|
void |
start(String props,
String name,
boolean unicast) |
void |
viewAccepted(View new_view)
Called when a change in membership has occurred.
|
public void start(String props, String name, boolean unicast) throws Exception
Exceptionpublic void viewAccepted(View new_view)
ReceiverAdapterChannel.connect(String) returns.viewAccepted in interface MembershipListenerviewAccepted in class ReceiverAdapterpublic void receive(Message msg)
ReceiverAdapterreceive in interface MessageListenerreceive in class ReceiverAdapterCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.