public class JettyAnnotatedEventDriver extends AbstractEventDriver
activeMessage, policy, session, TARGET_LOG, websocket
Constructor and Description |
---|
JettyAnnotatedEventDriver(WebSocketPolicy policy,
Object websocket,
JettyAnnotatedMetadata events) |
Modifier and Type | Method and Description |
---|---|
void |
onBinaryFrame(ByteBuffer buffer,
boolean fin) |
void |
onBinaryMessage(byte[] data) |
void |
onClose(CloseInfo close) |
void |
onConnect() |
void |
onError(Throwable cause) |
void |
onFrame(Frame frame) |
void |
onInputStream(InputStream stream) |
void |
onReader(Reader reader) |
void |
onTextFrame(ByteBuffer buffer,
boolean fin) |
void |
onTextMessage(String message) |
String |
toString() |
appendMessage, dispatch, getPolicy, getSession, incomingError, incomingFrame, onContinuationFrame, onPing, onPong, openSession, terminateConnection
public JettyAnnotatedEventDriver(WebSocketPolicy policy, Object websocket, JettyAnnotatedMetadata events)
public void onBinaryFrame(ByteBuffer buffer, boolean fin) throws IOException
IOException
public void onBinaryMessage(byte[] data)
public void onClose(CloseInfo close)
public void onConnect()
public void onError(Throwable cause)
public void onFrame(Frame frame)
public void onInputStream(InputStream stream)
public void onReader(Reader reader)
public void onTextFrame(ByteBuffer buffer, boolean fin) throws IOException
IOException
public void onTextMessage(String message)
Copyright © 1995-2015 Webtide. All Rights Reserved.