| Package | Description |
|---|---|
| org.snf4j.core.factory |
Provides interfaces and classes for factories of different kind that are used
by the API.
|
| org.snf4j.core.timer |
Provides classes and interfaces for implementing timers that can be used by the API.
|
| org.snf4j.example.dtls |
A DTLS client/server example.
|
| org.snf4j.example.heartbeat |
A datagram (UDP/IP) client/server example.
|
| Modifier and Type | Method and Description |
|---|---|
ITimer |
ISessionStructureFactory.getTimer()
Returns a timer implementation that will be used by the session timer to
schedule events and tasks.
|
ITimer |
DefaultSessionStructureFactory.getTimer()
Returns a timer implementation that will be used by the session timer to
schedule events and tasks.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultTimer
Default timer implementation that is backed by the
Timer. |
| Modifier and Type | Method and Description |
|---|---|
ITimer |
SessionStructureFactory.getTimer() |
| Constructor and Description |
|---|
HeartbeatHandler(ITimer timer,
long beatPeriod,
long downPeriod) |
HeartbeatHandler(SocketAddress remoteAddress,
ITimer timer,
long beatPeriod,
long downPeriod) |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.