IdleStateEvent

public enum IdleStateEvent

A user event triggered by IdleStateHandler when a Channel is idle.

  • Will be triggered when no write was performed for the specified amount of time

    Declaration

    Swift

    case write
  • Will be triggered when no read was performed for the specified amount of time

    Declaration

    Swift

    case read
  • all

    Will be triggered when neither read nor write was performed for the specified amount of time

    Declaration

    Swift

    case all