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, terminateConnectionpublic AnnotatedEventDriver(WebSocketPolicy policy, Object websocket, EventMethods events)
public void onBinaryFrame(ByteBuffer buffer, boolean fin) throws IOException
onBinaryFrame in class EventDriverIOExceptionpublic void onBinaryMessage(byte[] data)
onBinaryMessage in class EventDriverpublic void onClose(CloseInfo close)
onClose in class EventDriverpublic void onConnect()
onConnect in class EventDriverpublic void onError(Throwable cause)
onError in class EventDriverpublic void onFrame(Frame frame)
onFrame in class EventDriverpublic void onInputStream(InputStream stream)
public void onReader(Reader reader)
public void onTextFrame(ByteBuffer buffer, boolean fin) throws IOException
onTextFrame in class EventDriverIOExceptionpublic void onTextMessage(String message)
onTextMessage in class EventDriverCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.