public interface UdpInbound extends NettyInbound
Modifier and Type | Method and Description |
---|---|
default Mono<Void> |
join(InetAddress multicastAddress)
Join a multicast group.
|
Mono<Void> |
join(InetAddress multicastAddress,
NetworkInterface iface)
Join a multicast group.
|
default Mono<Void> |
leave(InetAddress multicastAddress)
Leave a multicast group.
|
Mono<Void> |
leave(InetAddress multicastAddress,
NetworkInterface iface)
Leave a multicast group.
|
receive, receiveObject, withConnection
default Mono<Void> join(InetAddress multicastAddress)
multicastAddress
- multicast address of the group to joinPublisher
that will be complete when the group has been joinedMono<Void> join(InetAddress multicastAddress, @Nullable NetworkInterface iface)
multicastAddress
- multicast address of the group to joinPublisher
that will be complete when the group has been joineddefault Mono<Void> leave(InetAddress multicastAddress)
multicastAddress
- multicast address of the group to leavePublisher
that will be complete when the group has been leftMono<Void> leave(InetAddress multicastAddress, @Nullable NetworkInterface iface)
multicastAddress
- multicast address of the group to leavePublisher
that will be complete when the group has been left