-
joinGroup(_:
Default implementationpromise: ) Request that the
MulticastChannel
join the multicast group given bygroup
.Default Implementation
Declaration
Swift
func joinGroup(_ group: SocketAddress, promise: EventLoopPromise<Void>?)
Parameters
group
The IP address corresponding to the relevant multicast group.
promise
The
EventLoopPromise
that will be notified once the operation is complete, ornil
if you are not interested in the result of the operation. -
Request that the
MulticastChannel
join the multicast group given bygroup
on the interface given byinterface
.Declaration
Swift
@available(*, deprecated, renamed: "joinGroup(_:device:promise:﹚") func joinGroup(_ group: SocketAddress, interface: NIONetworkInterface?, promise: EventLoopPromise<Void>?)
Parameters
group
The IP address corresponding to the relevant multicast group.
interface
The interface on which to join the given group, or
nil
to allow the kernel to choose.promise
The
EventLoopPromise
that will be notified once the operation is complete, ornil
if you are not interested in the result of the operation. -
joinGroup(_:
Default implementationdevice: promise: ) Request that the
MulticastChannel
join the multicast group given bygroup
on the device given bydevice
.Default Implementation
Request that the
MulticastChannel
join the multicast group given bygroup
on the device given bydevice
.Declaration
Swift
func joinGroup(_ group: SocketAddress, device: NIONetworkDevice?, promise: EventLoopPromise<Void>?)
Parameters
group
The IP address corresponding to the relevant multicast group.
device
The device on which to join the given group, or
nil
to allow the kernel to choose.promise
The
EventLoopPromise
that will be notified once the operation is complete, ornil
if you are not interested in the result of the operation. -
leaveGroup(_:
Default implementationpromise: ) Request that the
MulticastChannel
leave the multicast group given bygroup
.Default Implementation
Declaration
Swift
func leaveGroup(_ group: SocketAddress, promise: EventLoopPromise<Void>?)
Parameters
group
The IP address corresponding to the relevant multicast group.
promise
The
EventLoopPromise
that will be notified once the operation is complete, ornil
if you are not interested in the result of the operation. -
Request that the
MulticastChannel
leave the multicast group given bygroup
on the interface given byinterface
.Declaration
Swift
@available(*, deprecated, renamed: "leaveGroup(_:device:promise:﹚") func leaveGroup(_ group: SocketAddress, interface: NIONetworkInterface?, promise: EventLoopPromise<Void>?)
Parameters
group
The IP address corresponding to the relevant multicast group.
interface
The interface on which to leave the given group, or
nil
to allow the kernel to choose.promise
The
EventLoopPromise
that will be notified once the operation is complete, ornil
if you are not interested in the result of the operation. -
leaveGroup(_:
Default implementationdevice: promise: ) Request that the
MulticastChannel
leave the multicast group given bygroup
on the device given bydevice
.Default Implementation
Request that the
MulticastChannel
leave the multicast group given bygroup
on the device given bydevice
.Declaration
Swift
func leaveGroup(_ group: SocketAddress, device: NIONetworkDevice?, promise: EventLoopPromise<Void>?)
Parameters
group
The IP address corresponding to the relevant multicast group.
device
The device on which to leave the given group, or
nil
to allow the kernel to choose.promise
The
EventLoopPromise
that will be notified once the operation is complete, ornil
if you are not interested in the result of the operation. -
joinGroup(_:
Extension method) Undocumented
Declaration
Swift
public func joinGroup(_ group: SocketAddress) -> EventLoopFuture<Void>
-
joinGroup(_:
Extension methodinterface: ) Undocumented
Declaration
Swift
public func joinGroup(_ group: SocketAddress, interface: NIONetworkInterface?) -> EventLoopFuture<Void>
-
joinGroup(_:
Extension methoddevice: ) Undocumented
Declaration
Swift
public func joinGroup(_ group: SocketAddress, device: NIONetworkDevice?) -> EventLoopFuture<Void>
-
leaveGroup(_:
Extension method) Undocumented
Declaration
Swift
public func leaveGroup(_ group: SocketAddress) -> EventLoopFuture<Void>
-
leaveGroup(_:
Extension methodinterface: ) Undocumented
Declaration
Swift
public func leaveGroup(_ group: SocketAddress, interface: NIONetworkInterface?) -> EventLoopFuture<Void>
-
leaveGroup(_:
Extension methoddevice: ) Undocumented
Declaration
Swift
public func leaveGroup(_ group: SocketAddress, device: NIONetworkDevice?) -> EventLoopFuture<Void>