edu.nps.moves.disutil
Interface PduNioMulticastReceiver.Listener

All Superinterfaces:
java.util.EventListener
Enclosing class:
PduNioMulticastReceiver

public static interface PduNioMulticastReceiver.Listener
extends java.util.EventListener


Method Summary
 void pduReceived(PduNioMulticastReceiver.Event evt)
          Called when a packet is received.
 

Method Detail

pduReceived

void pduReceived(PduNioMulticastReceiver.Event evt)
Called when a packet is received. This is called on the IO thread, so don't take too long, and if you want to offload the processing to another thread, be sure to copy the data out of the datagram since it will be clobbered the next time around.

Parameters:
evt - the event
See Also:
PduNioMulticastReceiver.Event.getPdu()