public abstract class AbstractJsrEventDriver extends AbstractEventDriver
Modifier and Type | Field and Description |
---|---|
protected EndpointConfig |
config |
protected JsrSession |
jsrsession |
protected EndpointMetadata |
metadata |
activeMessage, policy, session, TARGET_LOG, websocket
Constructor and Description |
---|
AbstractJsrEventDriver(WebSocketPolicy policy,
EndpointInstance endpointInstance) |
Modifier and Type | Method and Description |
---|---|
EndpointConfig |
getConfig() |
Session |
getJsrSession() |
EndpointMetadata |
getMetadata() |
abstract void |
init(JsrSession jsrsession) |
void |
onClose(CloseInfo close) |
protected abstract void |
onClose(CloseReason closereason) |
void |
onFrame(Frame frame) |
void |
openSession(WebSocketSession session) |
void |
setEndpointconfig(EndpointConfig endpointconfig) |
abstract void |
setPathParameters(Map<String,String> pathParameters) |
appendMessage, dispatch, getPolicy, getSession, incomingError, incomingFrame, onContinuationFrame, onPing, onPong, terminateConnection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onBinaryFrame, onBinaryMessage, onConnect, onError, onInputStream, onReader, onTextFrame, onTextMessage
protected final EndpointMetadata metadata
protected final EndpointConfig config
protected JsrSession jsrsession
public AbstractJsrEventDriver(WebSocketPolicy policy, EndpointInstance endpointInstance)
public EndpointConfig getConfig()
public Session getJsrSession()
public EndpointMetadata getMetadata()
public abstract void init(JsrSession jsrsession)
public final void onClose(CloseInfo close)
protected abstract void onClose(CloseReason closereason)
public void onFrame(Frame frame)
public final void openSession(WebSocketSession session)
openSession
in interface EventDriver
openSession
in class AbstractEventDriver
public void setEndpointconfig(EndpointConfig endpointconfig)
Copyright © 1995-2015 Webtide. All Rights Reserved.