UdpClientConnectEvent

This event is fired once the UDP client is created but not connected yet.

This event provides an opportunity to replace the default UDP client with a custom one. The default implementation is a netty UDP client.

Constructors

Link copied to clipboard
constructor(@NotNull client: @NotNull UdpClient, @NotNull connectionPacket: @NotNull ConnectionPacket)

Functions

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