public class JettyAnnotatedEventDriver extends AbstractEventDriver
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Constructor and Description |
---|
JettyAnnotatedEventDriver(WebSocketPolicy policy,
Object websocket,
JettyAnnotatedMetadata events) |
Modifier and Type | Method and Description |
---|---|
BatchMode |
getBatchMode() |
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, incomingFrame, onContinuationFrame, onPing, onPong, openSession
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
public JettyAnnotatedEventDriver(WebSocketPolicy policy, Object websocket, JettyAnnotatedMetadata events)
public BatchMode getBatchMode()
getBatchMode
in interface EventDriver
getBatchMode
in class AbstractEventDriver
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)
public String toString()
toString
in class AbstractLifeCycle
Copyright © 2010 - 2020 Adobe. All Rights Reserved