Interface EventDriver
-
- All Superinterfaces:
IncomingFrames
- All Known Implementing Classes:
AbstractEventDriver
,AbstractJsrEventDriver
,JettyAnnotatedEventDriver
,JettyListenerEventDriver
,JsrAnnotatedEventDriver
,JsrEndpointEventDriver
public interface EventDriver extends IncomingFrames
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchMode
getBatchMode()
WebSocketPolicy
getPolicy()
WebSocketSession
getSession()
void
onBinaryFrame(java.nio.ByteBuffer buffer, boolean fin)
void
onBinaryMessage(byte[] data)
void
onClose(CloseInfo close)
void
onConnect()
void
onContinuationFrame(java.nio.ByteBuffer buffer, boolean fin)
void
onError(java.lang.Throwable t)
void
onFrame(Frame frame)
void
onInputStream(java.io.InputStream stream)
void
onPing(java.nio.ByteBuffer buffer)
void
onPong(java.nio.ByteBuffer buffer)
void
onReader(java.io.Reader reader)
void
onTextFrame(java.nio.ByteBuffer buffer, boolean fin)
void
onTextMessage(java.lang.String message)
void
openSession(WebSocketSession session)
-
Methods inherited from interface org.eclipse.jetty.websocket.api.extensions.IncomingFrames
incomingFrame
-
-
-
-
Method Detail
-
getPolicy
WebSocketPolicy getPolicy()
-
getSession
WebSocketSession getSession()
-
getBatchMode
BatchMode getBatchMode()
-
onBinaryFrame
void onBinaryFrame(java.nio.ByteBuffer buffer, boolean fin) throws java.io.IOException
- Throws:
java.io.IOException
-
onBinaryMessage
void onBinaryMessage(byte[] data)
-
onClose
void onClose(CloseInfo close)
-
onConnect
void onConnect()
-
onContinuationFrame
void onContinuationFrame(java.nio.ByteBuffer buffer, boolean fin) throws java.io.IOException
- Throws:
java.io.IOException
-
onError
void onError(java.lang.Throwable t)
-
onFrame
void onFrame(Frame frame)
-
onInputStream
void onInputStream(java.io.InputStream stream) throws java.io.IOException
- Throws:
java.io.IOException
-
onPing
void onPing(java.nio.ByteBuffer buffer)
-
onPong
void onPong(java.nio.ByteBuffer buffer)
-
onReader
void onReader(java.io.Reader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
onTextFrame
void onTextFrame(java.nio.ByteBuffer buffer, boolean fin) throws java.io.IOException
- Throws:
java.io.IOException
-
onTextMessage
void onTextMessage(java.lang.String message)
-
openSession
void openSession(WebSocketSession session)
-
-