Package | Description |
---|---|
org.snf4j.core.allocator |
Provides interfaces and classes for implementing allocators used by the API.
|
org.snf4j.core.factory |
Provides interfaces and classes for factories of different kind that are used
by the API.
|
org.snf4j.core.handler |
Provides interfaces and classes for implementing sessions' handlers.
|
org.snf4j.example.dtls |
A DTLS client/server example.
|
Modifier and Type | Class and Description |
---|---|
class |
CachingAllocator
A caching allocator for
ByteBuffer allocations. |
class |
DefaultAllocator
Default implementation of the
IByteBufferAllocator interface. |
class |
ThreadLocalCachingAllocator
A thread-local caching allocator for
ByteBuffer allocations. |
Modifier and Type | Method and Description |
---|---|
IByteBufferAllocator |
ISessionStructureFactory.getAllocator()
Gets a byte buffer allocator that will used by the created session.
|
IByteBufferAllocator |
DefaultSessionStructureFactory.getAllocator()
Gets a byte buffer allocator that will used by the created session.
|
Modifier and Type | Method and Description |
---|---|
IByteBufferAllocator |
IAllocatingHandler.getAllocator()
Returns the allocator that is associated with this handler.
|
Modifier and Type | Method and Description |
---|---|
IByteBufferAllocator |
SessionStructureFactory.getAllocator() |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.