public interface ISessionStructureFactory
| Modifier and Type | Method and Description |
|---|---|
IByteBufferAllocator |
getAllocator()
Gets a byte buffer allocator that will used by the created session.
|
ConcurrentMap<Object,Object> |
getAttributes()
Gets an attributes that will be used by the created session.
|
Executor |
getExecutor()
Returns an executor that will be used by engine-driven sessions to execute
delegated tasks required by the sessions to complete operations that block, or
may take an extended period of time to complete.
|
ITimeoutModel |
getTimeoutModel()
Returns a timeout model that will be used by engine-driven datagram sessions
to retransmit lost packets.
|
ITimer |
getTimer()
Returns a timer implementation that will be used by the session timer to
schedule events and tasks.
|
IByteBufferAllocator getAllocator()
ConcurrentMap<Object,Object> getAttributes()
null to configure the session
with its own empty copy of attributesExecutor getExecutor()
null if the session should use the default
executorITimer getTimer()
null if the session timer shouldn't be
supported by the session.ITimeoutModel getTimeoutModel()
null if the session should use the default
timeout model.Copyright © 2017–2022 SNF4J.ORG. All rights reserved.