| Modifier and Type | Method and Description |
|---|---|
SessionConfig |
Session.getConfig()
Returns the current settings of this session.
|
SessionConfig |
SessionServer.getDefaultConfig()
Returns the default configuration of newly created sessions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Session.setConfig(SessionConfig config)
Sets the current settings of this session.
|
void |
SessionServer.setDefaultConfig(SessionConfig defaultConfig)
Sets the default configuration of newly created sessions.
|
| Constructor and Description |
|---|
Session(IoProcessor ioProcessor,
java.net.SocketAddress socketAddress,
MessageRecognizer messageRecognizer,
EventDispatcher eventDispatcher,
SessionConfig config)
Constructs a new session that connects to the specified socket address
with the specified settings.
|
Session(IoProcessor ioProcessor,
java.nio.channels.SocketChannel channel,
MessageRecognizer messageRecognizer,
EventDispatcher eventDispatcher,
SessionConfig config)
Constructs a new session with the specified channel and with the
specified settings.
|
Copyright © 2004-2012 Trustin Lee. All Rights Reserved.