public static final class UdpServer.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
UdpServer |
build() |
UdpServer.Builder |
options(java.util.function.Consumer<? super UdpServerOptions.Builder> options)
The options for the server, including address and port.
|
public final UdpServer.Builder options(java.util.function.Consumer<? super UdpServerOptions.Builder> options)
options - the options for the server, including address and port.thispublic UdpServer build()