public interface EventDriver extends IncomingFrames
Modifier and Type | Method and Description |
---|---|
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) |
incomingError, incomingFrame
WebSocketPolicy getPolicy()
WebSocketSession getSession()
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)
void onPing(ByteBuffer buffer)
void onPong(ByteBuffer buffer)
void onReader(Reader reader)
void onTextFrame(ByteBuffer buffer, boolean fin) throws IOException
IOException
void onTextMessage(String message)
void openSession(WebSocketSession session)
Copyright © 1995-2015 Webtide. All Rights Reserved.