public interface FrameHandler
Modifier and Type | Method and Description |
---|---|
void |
closed(TransportException error) |
boolean |
handleFrame(TransportFrame frame) |
boolean |
isHandlingFrames()
Returns whether I am currently able to handle frames.
|
boolean handleFrame(TransportFrame frame)
java.lang.IllegalStateException
- if I am not currently accepting inputisHandlingFrames()
void closed(TransportException error)
boolean isHandlingFrames()
handleFrame(TransportFrame)
.