@NotThreadSafe
public static final class RLPClient.Builder
extends Object
| Modifier and Type | Method and Description |
|---|---|
RLPClient |
build()
Builds a Client.
|
RLPClient.Builder |
setLocalAddress(Optional<InetAddress> localAddress)
Sets the local address.
|
RLPClient.Builder |
setLocalPort(int localPort)
Sets the local port.
|
@Nonnull @CheckReturnValue public RLPClient build() throws SocketException
SocketException - On failure.@Nonnull public RLPClient.Builder setLocalAddress(@Nonnull Optional<InetAddress> localAddress)
localAddress - The local address.@Nonnull public RLPClient.Builder setLocalPort(int localPort)
localPort - The local port.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.