public class ChatServerHandler extends AbstractStreamHandler
| Constructor and Description |
|---|
ChatServerHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
event(SessionEvent event)
Called to notify about a change of the associated session state.
|
void |
read(Object msg)
Called when a new message was read and decoded from the input buffer.
|
available, available, getSession, setSessionevent, exception, getConfig, getFactory, getName, incident, read, read, timer, timerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevent, exception, getConfig, getFactory, getName, incident, read, read, timer, timerread, 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 stateSessionEventCopyright © 2017–2022 SNF4J.ORG. All rights reserved.