vertx / io.vertx.reactivex.core.datagram / DatagramPacket

# DatagramPacket

`open class DatagramPacket`

A received datagram packet (UDP) which contains the data and information about the sender of the data itself. NOTE: This class has been automatically generated from the io.vertx.core.datagram.DatagramPacket non RX-ified interface using Vert.x codegen.

### Constructors

<init> | `DatagramPacket(delegate: DatagramPacket)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<DatagramPacket>`

### Functions

data | `open fun data(): Buffer` Returns the data of the io.vertx.reactivex.core.datagram.DatagramPacket
equals | `open fun equals(other: Any?): Boolean`
getDelegate | `open fun getDelegate(): DatagramPacket`
hashCode | `open fun hashCode(): Int`
newInstance | `open static fun newInstance(arg: DatagramPacket): DatagramPacket`
sender | `open fun sender(): SocketAddress` Returns the io.vertx.reactivex.core.net.SocketAddress of the sender that sent this io.vertx.reactivex.core.datagram.DatagramPacket.
toString | `open fun toString(): String`