public class SessionStructureFactory extends DefaultSessionStructureFactory
DEFAULT| Modifier and Type | Method and Description |
|---|---|
IByteBufferAllocator |
getAllocator()
Gets a byte buffer allocator that will used by the created session.
|
ITimer |
getTimer()
Returns a timer implementation that will be used by the session timer to
schedule events and tasks.
|
getAttributes, getExecutor, getTimeoutModelpublic ITimer getTimer()
DefaultSessionStructureFactorygetTimer in interface ISessionStructureFactorygetTimer in class DefaultSessionStructureFactorynull, so the session timer will not be supported by the sessionpublic IByteBufferAllocator getAllocator()
DefaultSessionStructureFactory
By default it simply returns DefaultAllocator.DEFAULT
getAllocator in interface ISessionStructureFactorygetAllocator in class DefaultSessionStructureFactoryCopyright © 2017–2022 SNF4J.ORG. All rights reserved.