UdpClientPacketReceivedEvent

This event is fired once the UdpClient has received the packet but has not yet handled it.

Constructors

Link copied to clipboard
constructor(@NotNull client: @NotNull UdpClient, @NotNull packet: @NotNull Packet<out Any>)

Functions

Link copied to clipboard
open fun isCancelled(): Boolean
Link copied to clipboard
open fun setCancelled(cancel: Boolean)