public interface EventDriver extends IncomingFrames
Modifier and Type | Method and Description |
---|---|
BatchMode |
getBatchMode() |
WebSocketPolicy |
getPolicy() |
WebSocketSession |
getSession() |
void |
onBinaryFrame(ByteBuffer buffer,
boolean fin) |
void |
onBinaryMessage(byte[] data) |
void |
onClose(CloseInfo close) |
void |
onConnect() |
void |
onContinuationFrame(ByteBuffer buffer,
boolean fin) |
void |
onError(Throwable t) |
void |
onFrame(Frame frame) |
void |
onInputStream(InputStream stream) |
void |
onPing(ByteBuffer buffer) |
void |
onPong(ByteBuffer buffer) |
void |
onReader(Reader reader) |
void |
onTextFrame(ByteBuffer buffer,
boolean fin) |
void |
onTextMessage(String message) |
void |
openSession(WebSocketSession session) |
incomingFrame
WebSocketPolicy getPolicy()
WebSocketSession getSession()
BatchMode getBatchMode()
void onBinaryFrame(ByteBuffer buffer, boolean fin) throws IOException
IOException
void onBinaryMessage(byte[] data)
void onClose(CloseInfo close)
void onConnect()
void onContinuationFrame(ByteBuffer buffer, boolean fin) throws IOException
IOException
void onError(Throwable t)
void onFrame(Frame frame)
void onInputStream(InputStream stream) throws IOException
IOException
void onPing(ByteBuffer buffer)
void onPong(ByteBuffer buffer)
void onReader(Reader reader) throws IOException
IOException
void onTextFrame(ByteBuffer buffer, boolean fin) throws IOException
IOException
void onTextMessage(String message)
void openSession(WebSocketSession session)
Copyright © 2010 - 2020 Adobe. All Rights Reserved