Interface EventDriver
- All Superinterfaces:
IncomingFrames
- All Known Implementing Classes:
AbstractEventDriver
,AbstractJsrEventDriver
,JettyAnnotatedEventDriver
,JettyListenerEventDriver
,JsrAnnotatedEventDriver
,JsrEndpointEventDriver
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBinaryFrame
(ByteBuffer buffer, boolean fin) void
onBinaryMessage
(byte[] data) void
void
void
onContinuationFrame
(ByteBuffer buffer, boolean fin) void
void
void
onInputStream
(InputStream stream) void
onPing
(ByteBuffer buffer) void
onPong
(ByteBuffer buffer) void
void
onTextFrame
(ByteBuffer buffer, boolean fin) void
onTextMessage
(String message) void
openSession
(WebSocketSession session) Methods inherited from interface org.eclipse.jetty.websocket.api.extensions.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
-