public class AnnotatedEventDriver extends EventDriver
policy, session, websocket
Constructor and Description |
---|
AnnotatedEventDriver(WebSocketPolicy policy,
Object websocket,
EventMethods 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() |
getPolicy, getSession, incomingError, incomingFrame, openSession, terminateConnection
public AnnotatedEventDriver(WebSocketPolicy policy, Object websocket, EventMethods events)
public void onBinaryFrame(ByteBuffer buffer, boolean fin) throws IOException
onBinaryFrame
in class EventDriver
IOException
public void onBinaryMessage(byte[] data)
onBinaryMessage
in class EventDriver
public void onClose(CloseInfo close)
onClose
in class EventDriver
public void onConnect()
onConnect
in class EventDriver
public void onError(Throwable cause)
onError
in class EventDriver
public void onFrame(Frame frame)
onFrame
in class EventDriver
public void onInputStream(InputStream stream)
public void onReader(Reader reader)
public void onTextFrame(ByteBuffer buffer, boolean fin) throws IOException
onTextFrame
in class EventDriver
IOException
public void onTextMessage(String message)
onTextMessage
in class EventDriver
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.