public class WebSocketServerHandler extends AbstractWebSocketHandler
| Modifier and Type | Method and Description |
|---|---|
void |
event(SessionEvent event)
Called to notify about a change of the associated session state.
|
IWebSocketSessionConfig |
getConfig()
Returns the Web Socket configuration object that will be used to configure
the behavior of the associated session.
|
void |
read(Object msg)
Called when a new message was read and decoded from the input buffer.
|
available, available, getSession, setSessionevent, exception, getFactory, getName, incident, read, read, timer, timerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSession, setSessionevent, exception, getFactory, getName, incident, read, read, timer, timeravailable, available, read, readpublic void read(Object msg)
IHandlerbyte[] and ByteBuffer.msg - the message that was read and decoded from the input buffer.public void event(SessionEvent event)
IHandlerevent in interface IHandlerevent in class AbstractHandlerevent - an event related with the change of the session stateSessionEventpublic IWebSocketSessionConfig getConfig()
AbstractWebSocketHandlergetConfig in interface IHandlergetConfig in interface IWebSocketHandlergetConfig in class AbstractWebSocketHandlerISessionConfigCopyright © 2017–2022 SNF4J.ORG. All rights reserved.