org.jgroups.protocols
Class UDP1_4.MyReceiver
java.lang.Object
org.jgroups.protocols.UDP1_4.MyReceiver
- UDP1_4
- org.jgroups.protocols.Receiver
public static class UDP1_4.MyReceiver
extends java.lang.Object
implements org.jgroups.protocols.Receiver
MyReceiver
public MyReceiver()
receive
public void receive(DatagramPacket packet)
Called when data has been received on a socket. When the callback returns, the buffer will be
reused: therefore, if buf
must be processed on a separate thread, it needs to be copied.
This method might be called concurrently by multiple threads, so it has to be reentrant
- receive in interface org.jgroups.protocols.Receiver
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.