Top Description Methods
reactor.netty.udp

pack-priv Interface UdpConnection

Known Direct Subinterfaces
reactor.netty.udp.UdpInbound, reactor.netty.udp.UdpOutbound
Imports
java.net.InetAddress, .NetworkInterface, org.reactivestreams.Publisher, reactor.core.publisher.Mono, reactor.util.annotation.Nullable

Operations specific for UDP.
Author
Stephane Maldini

Method Summary

Modifier and TypeMethod and Description
public default Mono<Void>

Returns:

a Publisher that will be complete when the group has been joined
join
(InetAddress
multicast address of the group to join
multicastAddress
)

Join a multicast group.

public Mono<Void>

Returns:

a Publisher that will be complete when the group has been joined
join
(final InetAddress
multicast address of the group to join
multicastAddress
,
NetworkInterface iface)

Join a multicast group.

public default Mono<Void>

Returns:

a Publisher that will be complete when the group has been left
leave
(InetAddress
multicast address of the group to leave
multicastAddress
)

Leave a multicast group.

public Mono<Void>

Returns:

a Publisher that will be complete when the group has been left
leave
(final InetAddress
multicast address of the group to leave
multicastAddress
,
NetworkInterface iface)

Leave a multicast group.

Method Detail

joinback to summary
public default Mono<Void> join(InetAddress multicastAddress)

Join a multicast group.

Parameters
multicastAddress:InetAddress

multicast address of the group to join

Returns:Mono<Void>

a Publisher that will be complete when the group has been joined

Exceptions
UnsupportedOperationException:
when Unix Domain Sockets
joinback to summary
public Mono<Void> join(final InetAddress multicastAddress, NetworkInterface iface)

Join a multicast group.

Parameters
multicastAddress:InetAddress

multicast address of the group to join

Returns:Mono<Void>

a Publisher that will be complete when the group has been joined

Exceptions
UnsupportedOperationException:
when Unix Domain Sockets
leaveback to summary
public default Mono<Void> leave(InetAddress multicastAddress)

Leave a multicast group.

Parameters
multicastAddress:InetAddress

multicast address of the group to leave

Returns:Mono<Void>

a Publisher that will be complete when the group has been left

Exceptions
UnsupportedOperationException:
when Unix Domain Sockets
leaveback to summary
public Mono<Void> leave(final InetAddress multicastAddress, NetworkInterface iface)

Leave a multicast group.

Parameters
multicastAddress:InetAddress

multicast address of the group to leave

Returns:Mono<Void>

a Publisher that will be complete when the group has been left

Exceptions
UnsupportedOperationException:
when Unix Domain Sockets