Module swim.io
Package swim.io

Interface FlowContext

    • Method Summary

      Modifier and Type Method Description
      FlowControl flowControl()
      Returns the current FlowControl state of the underlying network channel.
      void flowControl​(FlowControl flowControl)
      Enqueues an atomic replacement of the underlying network channel's flow control state with a new flowControl.
      FlowControl flowControl​(FlowModifier flowModifier)
      Enqueues an atomic modification to the underlying network channel's flow control state by applying a flowModifier delta.
    • Method Detail

      • flowControl

        FlowControl flowControl()
        Returns the current FlowControl state of the underlying network channel.
      • flowControl

        void flowControl​(FlowControl flowControl)
        Enqueues an atomic replacement of the underlying network channel's flow control state with a new flowControl.
      • flowControl

        FlowControl flowControl​(FlowModifier flowModifier)
        Enqueues an atomic modification to the underlying network channel's flow control state by applying a flowModifier delta.