Interface DatagramListener
-
- All Known Implementing Classes:
DynamicAddressChannel
,MediaProxySession
,RelaySession
public interface DatagramListener
Listener for datagram packets received.- Author:
- Thiago Camargo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
datagramReceived(DatagramPacket datagramPacket)
Called when a datagram is received.
-
-
-
Method Detail
-
datagramReceived
boolean datagramReceived(DatagramPacket datagramPacket)
Called when a datagram is received. If the method returns false, the packet MUST NOT be resent from the received Channel.- Parameters:
datagramPacket
- the datagram packet received.- Returns:
- ?
-
-