public final class PubSubUdpUadpConnectionConf extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubUdpUadpConnectionConf.Builder
Builder for
PubSubUdpUadpConnectionConf. |
static class |
PubSubUdpUadpConnectionConf.Fields |
PubSubConf.MapKind<T>| Modifier and Type | Field and Description |
|---|---|
static PubSubConfSpecification |
SPECIFICATION |
| Modifier and Type | Method and Description |
|---|---|
static PubSubUdpUadpConnectionConf.Builder |
builder()
Returns a new
PubSubUdpUadpConnectionConf.Builder that can be used to construct instances of this class |
boolean |
equals(Object obj) |
InetSocketAddress |
getDiscoveryNetworkAddress()
Will listen on this for discovery messages.
|
NetworkInterface |
getDiscoveryNetworkInterface()
Convenience method for getting
StandardSocketOptions.IP_MULTICAST_IF from
getDiscoverySocketOptions(). |
Map<SocketOption<?>,Object> |
getDiscoverySocketOptions()
If a separate discovery address is configured in the transport settings, allows setting options
to that socket.
|
String |
getName()
Get connection name.
|
InetSocketAddress |
getNetworkAddress()
Will listen on this.
|
NetworkInterface |
getNetworkInterface()
Convenience method for getting
StandardSocketOptions.IP_MULTICAST_IF from
getSocketOptions(). |
PublisherId |
getPublisherId()
The PublisherId for a publisher.
|
Map<String,PubSubUdpUadpReaderGroupConf> |
getReaderGroups() |
Map<SocketOption<?>,Object> |
getSocketOptions()
Allows setting options that will be passed to the underlying UDP socket (or equivalent)
implementation.
|
PubSubTransportProfile |
getTransportProfile()
Returns the TransportProfile (uri) of the connection.
|
Map<String,PubSubUdpUadpWriterGroupConf> |
getWriterGroups() |
int |
hashCode() |
Boolean |
isEnabled()
Returns the enabled state.
|
PubSubConfSpecification |
specification()
Returns the specification of this object.
|
PubSubUdpUadpConnectionConf.Builder |
toBuilder()
Returns a new
PubSubUdpUadpConnectionConf.Builder that is initialized with the state of this object. |
String |
toString() |
PubSubUdpUadpConnectionConf |
withGroupAddedOrReplaced(PubSubUdpUadpReaderGroupConf conf)
Returns an instance similar to this, but with the Group given as parameter added or replaced if any existing one had the
PubSubUdpUadpReaderGroupConf.getName(). |
PubSubUdpUadpConnectionConf |
withGroupAddedOrReplaced(PubSubUdpUadpWriterGroupConf conf)
Returns an instance similar to this, but with the Group given as parameter added or replaced if any existing one had the
PubSubUdpUadpWriterGroupConf.getName(). |
PubSubUdpUadpConnectionConf |
withGroupRemoved(String name)
Removes Group from the conf if there is any with the given name.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitget, get, toMappublic static final PubSubConfSpecification SPECIFICATION
public PubSubConfSpecification specification()
PubSubConfpublic String getName()
public PublisherId getPublisherId()
public Boolean isEnabled()
public InetSocketAddress getDiscoveryNetworkAddress()
getNetworkAddress() and also getSocketOptions().public Map<SocketOption<?>,Object> getDiscoverySocketOptions()
public InetSocketAddress getNetworkAddress()
public Map<SocketOption<?>,Object> getSocketOptions()
public Map<String,PubSubUdpUadpReaderGroupConf> getReaderGroups()
public Map<String,PubSubUdpUadpWriterGroupConf> getWriterGroups()
public PubSubUdpUadpConnectionConf withGroupRemoved(String name)
public PubSubUdpUadpConnectionConf withGroupAddedOrReplaced(PubSubUdpUadpReaderGroupConf conf)
PubSubUdpUadpReaderGroupConf.getName().public PubSubUdpUadpConnectionConf withGroupAddedOrReplaced(PubSubUdpUadpWriterGroupConf conf)
PubSubUdpUadpWriterGroupConf.getName().public static PubSubUdpUadpConnectionConf.Builder builder()
PubSubUdpUadpConnectionConf.Builder that can be used to construct instances of this classpublic PubSubUdpUadpConnectionConf.Builder toBuilder()
PubSubUdpUadpConnectionConf.Builder that is initialized with the state of this object.public NetworkInterface getDiscoveryNetworkInterface()
StandardSocketOptions.IP_MULTICAST_IF from
getDiscoverySocketOptions().public NetworkInterface getNetworkInterface()
StandardSocketOptions.IP_MULTICAST_IF from
getSocketOptions().public final PubSubTransportProfile getTransportProfile()
PubSubConnectionConfgetTransportProfile in interface PubSubConnectionConf<PubSubUdpUadpReaderGroupConf,PubSubUdpUadpWriterGroupConf>Copyright © 2026. All rights reserved.