Classes

The following classes are available globally.

  • ChannelDuplexHandler responsible for encoding/decoding SWIM messages to/from the SWIMNIOShell.

    It is designed to work with DatagramBootstraps, and the contained shell can send messages by writing SWIMNIOSWIMNIOWriteCommand data into the channel which this handler converts into outbound AddressedEnvelope<ByteBuffer> elements.

    See more

    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.

    See more

    Declaration

    Swift

    public final class SWIMNIOShell