public class ChatClientHandler extends AbstractStreamHandler
| Constructor and Description |
|---|
ChatClientHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
event(SessionEvent event)
Called to notify about a change of the associated session state.
|
ISessionConfig |
getConfig()
Returns the 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, waitevent, exception, 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 stateSessionEventpublic ISessionConfig getConfig()
IHandlergetConfig in interface IHandlergetConfig in class AbstractHandlerISessionConfigCopyright © 2017–2022 SNF4J.ORG. All rights reserved.