Package io.vertx.core.datagram
Interface DatagramPacket
-
public interface DatagramPacketA 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 Description Bufferdata()Returns the data of theDatagramPacketSocketAddresssender()Returns theSocketAddressof the sender that sent thisDatagramPacket.
-
-
-
Method Detail
-
sender
SocketAddress sender()
Returns theSocketAddressof the sender that sent thisDatagramPacket.- Returns:
- the address of the sender
-
data
Buffer data()
Returns the data of theDatagramPacket- Returns:
- the data
-
-