Top Fields Constructors Methods
reactor.netty5.udp

pack-priv final Class UdpOperations

extends ChannelOperations<UdpInbound, UdpOutbound>
implements UdpInbound, UdpOutbound
Class Inheritance
All Implemented Interfaces
reactor.netty5.udp.UdpOutbound, reactor.netty5.NettyOutbound, org.reactivestreams.Publisher, reactor.netty5.udp.UdpConnection, reactor.netty5.udp.UdpInbound, reactor.netty5.NettyInbound
Imports
java.net.InetAddress, .NetworkInterface, io.netty5.channel.ChannelOption, io.netty5.channel.socket.DatagramChannel, io.netty5.util.concurrent.Future, org.reactivestreams.Publisher, reactor.core.publisher.Mono, reactor.netty5.Connection, .ConnectionObserver, .FutureMono, reactor.netty5.channel.ChannelOperations, reactor.util.Logger, .Loggers, reactor.util.annotation.Nullable

Author
Stephane Maldini

Field Summary

Modifier and TypeField and Description
pack-priv static final Logger

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
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)

Implements reactor.netty5.udp.UdpConnection.join.

Join 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)

Implements reactor.netty5.udp.UdpConnection.leave.

Leave a multicast group.
Inherited from reactor.netty5.channel.ChannelOperations:
addMetricsHandleraddReactiveBridgeafterInboundCompleteallocasasDebugLogMessageasLongTextasShortTextchannelconnectioncurrentContextdiscarddiscardWhenNoReceiverdisposedisposeSubscriberformatNamegetinboundinitShortIdisDisposedisInboundCancelledisInboundDisposedisPersistentisSubscriptionDisposedlisteneronCompleteonDisposeonDisposeonErroronInboundCancelonInboundCloseonInboundCompleteonInboundErroronInboundNextonNextonOutboundCompleteonOutboundErroronSubscribeonTerminateoutboundreceivereceiveObjectsendsendObjectsendObjectsendUsingterminatetoStringwithConnectionwrapInboundError

Field Detail

logback to summary
pack-priv static final Logger log

Hides reactor.netty5.channel.ChannelOperations.log.

Constructor Detail

UdpOperationsback to summary
pack-priv UdpOperations(Connection c, ConnectionObserver listener)

Method Detail

joinback to summary
public Mono<Void> join(final InetAddress multicastAddress, NetworkInterface iface)

Implements reactor.netty5.udp.UdpConnection.join.

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

Annotations
@Override
leaveback to summary
public Mono<Void> leave(final InetAddress multicastAddress, NetworkInterface iface)

Implements reactor.netty5.udp.UdpConnection.leave.

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

Annotations
@Override