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