Interface DatagramListener


public interface DatagramListener
Listener for datagram packets received.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Called when a datagram is received.
  • Method Details

    • datagramReceived

      boolean datagramReceived(DatagramPacket datagramPacket)
      Called when a datagram is received. If the method returns false, the stanza MUST NOT be resent from the received Channel.
      Parameters:
      datagramPacket - the datagram stanza received.
      Returns:
      ?