Classes
The following classes are available globally.
-
ChannelDuplexHandler
responsible for encoding/decoding SWIM messages to/from theSWIMNIOShell
.It is designed to work with
See moreDatagramBootstrap
s, and the contained shell can send messages by writingSWIMNIOSWIMNIOWriteCommand
data 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.Instance
with 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 also
SWIM.Instance
for detailed documentation about the SWIM protocol implementation.Declaration
Swift
public final class SWIMNIOShell