org.jgroups.protocols
Class UDP1_4.MyReceiver

java.lang.Object
  extended byorg.jgroups.protocols.UDP1_4.MyReceiver
All Implemented Interfaces:
org.jgroups.protocols.Receiver
Enclosing class:
UDP1_4

public static class UDP1_4.MyReceiver
extends java.lang.Object
implements org.jgroups.protocols.Receiver


Constructor Summary
UDP1_4.MyReceiver()
           
 
Method Summary
 void receive(java.net.DatagramPacket packet)
          Called when data has been received on a socket.
 void setConnectorTable(UDP1_4.ConnectorTable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDP1_4.MyReceiver

public UDP1_4.MyReceiver()
Method Detail

setConnectorTable

public void setConnectorTable(UDP1_4.ConnectorTable t)

receive

public void receive(java.net.DatagramPacket packet)
Description copied from interface: org.jgroups.protocols.Receiver
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

Specified by:
receive in interface org.jgroups.protocols.Receiver
Parameters:
packet -


Copyright ? 2001,2002 www.jgroups.com . All Rights Reserved.