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, getTimeoutModel
public ITimer getTimer()
DefaultSessionStructureFactory
getTimer
in interface ISessionStructureFactory
getTimer
in class DefaultSessionStructureFactory
null
, so the session timer will not be supported by the sessionpublic IByteBufferAllocator getAllocator()
DefaultSessionStructureFactory
By default it simply returns DefaultAllocator.DEFAULT
getAllocator
in interface ISessionStructureFactory
getAllocator
in class DefaultSessionStructureFactory
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.