| Modifier and Type | Interface and Description |
|---|---|
interface |
OrderedEventDispatcherMBean
JMX (Java Management
eXtenstions) support interface for
OrderedEventDispatcher. |
interface |
SimpleEventDispatcherMBean
JMX (Java Management
eXtenstions) support interface for
SimpleEventDispatcher. |
interface |
ThreadPooledEventDispatcher
An interface for thread-pooled event dispatchers.
|
interface |
ThreadPooledEventDispatcherMBean
JMX (Java Management
eXtenstions) support interface for thread-pooled event dispatchers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractThreadPooledEventDispatcher
A base class for thread-pooled event dispatchers.
|
class |
LowLatencyEventDispatcher
An
EventDispatcherthat provides low latency. |
class |
OrderedEventDispatcher
A thread-pooled
EventDispatcherthat the events for the same session
occurs in the same order it was generated actually. |
class |
SimpleEventDispatcher
A thread-pooled
EventDispatcherthat the events for the same session
does NOT occur in the same order it was generated actually. |
| Modifier and Type | Method and Description |
|---|---|
EventDispatcher |
Session.getEventDispatcher()
Returns the
EventDispatcherwho dispatches the events of this
session. |
EventDispatcher |
SessionServer.getEventDispatcher()
Returns the
EventDispatcherthat will be passed to newly created
sessions' constructor. |
| Modifier and Type | Method and Description |
|---|---|
void |
Session.setEventDispatcher(EventDispatcher eventDispatcher)
Sets the
EventDispatcherwho dispatches the events of this
session. |
void |
SessionServer.setEventDispatcher(EventDispatcher eventDispatcher)
Sets the
EventDispatcherthat 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.