public static final class AddSocketBinding.Builder extends Object
| Constructor and Description |
|---|
Builder(String socketBindingName)
When socket binding group is not selected, default will be set.
|
Builder(String socketBindingName,
String socketBindingGroup) |
| Modifier and Type | Method and Description |
|---|---|
AddSocketBinding |
build() |
AddSocketBinding.Builder |
clientMappings(String... clientMappingsToAdd)
Specifies zero or more client mappings for this socket binding.
|
AddSocketBinding.Builder |
fixedPort(boolean isPortFixed)
Whether the port value should remain fixed even if numeric offsets are applied to the other sockets in the
socket group.
|
AddSocketBinding.Builder |
interfaceName(String interfaceName)
Name of the interface to which the socket should be bound, or, for multicast sockets, the interface on which
it should listen.
|
AddSocketBinding.Builder |
multicastAddress(String multicastAddress)
Multicast address on which the socket should receive multicast traffic.
|
AddSocketBinding.Builder |
multicastPort(Integer multicastPort)
Port on which the socket should receive multicast traffic.
|
AddSocketBinding.Builder |
port(Integer port)
Number of the port to which the socket should be bound.
|
AddSocketBinding.Builder |
replaceExisting(boolean replaceExisting)
Specify whether to replace the existing socket binding based on its name.
|
public Builder(String socketBindingName)
standard-sockets and default group for domain mode is full-sockets.
full-sockets is default socket group only for all started servers in default server
configuration (server-one and server-two).public AddSocketBinding.Builder clientMappings(String... clientMappingsToAdd)
public AddSocketBinding.Builder fixedPort(boolean isPortFixed)
public AddSocketBinding.Builder interfaceName(String interfaceName)
public AddSocketBinding.Builder multicastAddress(String multicastAddress)
public AddSocketBinding.Builder multicastPort(Integer multicastPort)
public AddSocketBinding.Builder port(Integer port)
public AddSocketBinding.Builder replaceExisting(boolean replaceExisting)
public AddSocketBinding build()
Copyright © 2021. All rights reserved.