Package | Description |
---|---|
com.google.code.yanf4j.core |
Networking core package
|
com.google.code.yanf4j.core.impl | |
com.google.code.yanf4j.nio |
Nio implementation
|
com.google.code.yanf4j.util |
Yanf4j utilities
|
Modifier and Type | Field and Description |
---|---|
Dispatcher |
SessionConfig.dispatchMessageDispatcher |
Constructor and Description |
---|
SessionConfig(Handler handler,
CodecFactory codecFactory,
Statistics statistics,
Queue<WriteMessage> queue,
Dispatcher dispatchMessageDispatcher,
boolean handleReadWriteConcurrently,
long sessionTimeout,
long sessionIdelTimeout) |
Modifier and Type | Class and Description |
---|---|
class |
PoolDispatcher
Pool dispatcher,wrap a threadpool.
|
Modifier and Type | Field and Description |
---|---|
protected Dispatcher |
AbstractController.dispatchMessageDispatcher |
protected Dispatcher |
AbstractSession.dispatchMessageDispatcher |
protected Dispatcher |
AbstractController.readEventDispatcher |
protected Dispatcher |
AbstractController.writeEventDispatcher |
Modifier and Type | Method and Description |
---|---|
Dispatcher |
AbstractSession.getDispatchMessageDispatcher() |
Constructor and Description |
---|
NioSessionConfig(SelectableChannel sc,
Handler handler,
SelectorManager reactor,
CodecFactory codecFactory,
Statistics statistics,
Queue<WriteMessage> queue,
Dispatcher dispatchMessageDispatcher,
boolean handleReadWriteConcurrently,
long sessionTimeout,
long sessionIdleTimeout) |
Modifier and Type | Method and Description |
---|---|
static Dispatcher |
DispatcherFactory.newDispatcher(int size,
RejectedExecutionHandler rejectedExecutionHandler,
String prefix) |
Copyright © 2021. All rights reserved.