public class PingPong extends ReceiverAdapter
PingPongDatagram
for the same program using MulticastSockets, and
LatencyTest
for simple latency tests (not round trip).构造器和说明 |
---|
PingPong() |
public void start(java.lang.String props, java.lang.String name, boolean unicast) throws java.lang.Exception
java.lang.Exception
public void viewAccepted(View new_view)
ReceiverAdapter
Channel.connect(String)
returns.viewAccepted
在接口中 MembershipListener
viewAccepted
在类中 ReceiverAdapter
public void receive(Message msg)
ReceiverAdapter
receive
在接口中 MessageListener
receive
在类中 ReceiverAdapter
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception