Interface EventDriver
- All Superinterfaces:
IncomingFrames
- All Known Implementing Classes:
AbstractEventDriver, AbstractJsrEventDriver, JettyAnnotatedEventDriver, JettyListenerEventDriver, JsrAnnotatedEventDriver, JsrEndpointEventDriver
-
Method Summary
Modifier and TypeMethodDescriptionvoidonBinaryFrame(ByteBuffer buffer, boolean fin) voidonBinaryMessage(byte[] data) voidvoidvoidonContinuationFrame(ByteBuffer buffer, boolean fin) voidvoidvoidonInputStream(InputStream stream) voidonPing(ByteBuffer buffer) voidonPong(ByteBuffer buffer) voidvoidonTextFrame(ByteBuffer buffer, boolean fin) voidonTextMessage(String message) voidopenSession(WebSocketSession session) Methods inherited from interface IncomingFrames
incomingFrame
-
Method Details
-
getPolicy
WebSocketPolicy getPolicy() -
getSession
WebSocketSession getSession() -
getBatchMode
BatchMode getBatchMode() -
onBinaryFrame
- Throws:
IOException
-
onBinaryMessage
void onBinaryMessage(byte[] data) -
onClose
-
onConnect
void onConnect() -
onContinuationFrame
- Throws:
IOException
-
onError
-
onFrame
-
onInputStream
- Throws:
IOException
-
onPing
-
onPong
-
onReader
- Throws:
IOException
-
onTextFrame
- Throws:
IOException
-
onTextMessage
-
openSession
-