Interface FrameHandler

  • All Known Implementing Classes:
    TransportImpl

    public interface FrameHandler
    • Method Detail

      • handleFrame

        boolean handleFrame​(TransportFrame frame)
        Returns:
        false on end of stream
        Throws:
        java.lang.IllegalStateException - if I am not currently accepting input
        See Also:
        isHandlingFrames()
      • isHandlingFrames

        boolean isHandlingFrames()
        Returns whether I am currently able to handle frames. MUST be checked before calling handleFrame(TransportFrame).