Interface FrameHandler
-
- All Known Implementing Classes:
TransportImpl
public interface FrameHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclosed(TransportException error)booleanhandleFrame(TransportFrame frame)booleanisHandlingFrames()Returns whether I am currently able to handle frames.
-
-
-
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()
-
closed
void closed(TransportException error)
-
isHandlingFrames
boolean isHandlingFrames()
Returns whether I am currently able to handle frames. MUST be checked before callinghandleFrame(TransportFrame).
-
-