| Modifier and Type | Method and Description |
|---|---|
IoProcessor |
Session.getIoProcessor()
Returns the I/O processor this session reads and writes the message via.
|
IoProcessor |
SessionServer.getIoProcessor()
Returns the
IoProcessorthat will be passed to newly created
sessions' constructor. |
| Modifier and Type | Method and Description |
|---|---|
void |
Session.setIoProcessor(IoProcessor ioProcessor)
Sets the I/O processor this session reads and writes the message via.
|
void |
SessionServer.setIoProcessor(IoProcessor ioProcessor)
Sets the
IoProcessorthat will be passed to newly created
sessions' constructor. |
| Constructor and Description |
|---|
Session(IoProcessor ioProcessor,
java.net.SocketAddress socketAddress,
MessageRecognizer messageRecognizer,
EventDispatcher eventDispatcher)
Constructs a new session that connects to the specified socket address
with the default settings.
|
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)
Constructs a new session with the specified channel and with the default
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.