Interface OutgoingFrames

  • Method Details

    • sendFrame

      default void sendFrame(Frame frame, Callback callback, boolean batch)
      A frame, callback, intended for the network layer.

      Note: the frame can undergo many transformations in the various layers and extensions present in the implementation.

      If you are implementing a mutation, you are obliged to handle the incoming Callback appropriately.

      Parameters:
      frame - the frame to eventually write to the network layer.
      callback - the callback to notify when the frame is written.
      batch - the batch mode requested by the sender.
    • sendFrame

      void sendFrame(OutgoingEntry entry)
      Send an OutgoingEntry containing a Frame and Callback.
      Parameters:
      entry - the frame to eventually write to the network layer.