io.vertx.core.datagram

## Interface DatagramPacket

-     public interface DatagramPacket

  A received datagram packet (UDP) which contains the data and information about the sender of the data itself.
  Author:
    Norman Maurer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | `data()` Returns the data of the `DatagramPacket`
    `SocketAddress` | `sender()` Returns the `SocketAddress` of the sender that sent this `DatagramPacket`.

- - ### Method Detail

    - #### sender

          SocketAddress sender()

      Returns the `SocketAddress` of the sender that sent this `DatagramPacket`.
      Returns:
        the address of the sender

    - #### data

          Buffer data()

      Returns the data of the `DatagramPacket`
      Returns:
        the data

Copyright © 2015. All Rights Reserved.