Classes
The following classes are available globally.
-
ChannelDuplexHandlerresponsible for encoding/decoding SWIM messages to/from theSWIMNIOShell.It is designed to work with
See moreDatagramBootstraps, and the contained shell can send messages by writingSWIMNIOSWIMNIOWriteCommanddata into the channel which this handler converts into outboundAddressedEnvelope<ByteBuffer>elements.Declaration
Swift
public final class SWIMNIOHandler : ChannelDuplexHandler -
The SWIM shell is responsible for driving all interactions of the
SWIM.Instancewith the outside world.Warning
Take care to only interact with the shell through
receive...prefixed functions, as they ensure that all operations performed on the shell are properly synchronized by hopping to the right event loop.See moreSee also
SWIM.Instancefor detailed documentation about the SWIM protocol implementation.Declaration
Swift
public final class SWIMNIOShell
View on GitHub
Classes Reference