Package | Description |
---|---|
org.snf4j.core |
Provides interfaces and classes implementing the core functionalities of the
API.
|
org.snf4j.core.session |
Provides classes and interfaces used for session handling.
|
org.snf4j.core.timer |
Provides classes and interfaces for implementing timers that can be used by the API.
|
Modifier and Type | Field and Description |
---|---|
protected Map<SocketAddress,ITimerTask> |
DatagramServerHandler.timers
A map holding timers used internally by the class.
|
Modifier and Type | Method and Description |
---|---|
ITimerTask |
UnsupportedSessionTimer.scheduleEvent(Object event,
long delay)
Always throws the UnsupportedOperationException.
|
ITimerTask |
ISessionTimer.scheduleEvent(Object event,
long delay)
Schedules the specified timer event to be triggered in the session's
handler after the specified delay.
|
ITimerTask |
UnsupportedSessionTimer.scheduleEvent(Object event,
long delay,
long period)
Always throws the UnsupportedOperationException.
|
ITimerTask |
ISessionTimer.scheduleEvent(Object event,
long delay,
long period)
Schedules the specified timer event for repeated triggering in the
session's handler with the specified initial delay.
|
ITimerTask |
UnsupportedSessionTimer.scheduleTask(Runnable task,
long delay,
boolean inHandler)
Always throws the UnsupportedOperationException.
|
ITimerTask |
ISessionTimer.scheduleTask(Runnable task,
long delay,
boolean inHandler)
Schedules the specified task for execution after the specified delay.
|
ITimerTask |
UnsupportedSessionTimer.scheduleTask(Runnable task,
long delay,
long period,
boolean inHandler)
Always throws the UnsupportedOperationException.
|
ITimerTask |
ISessionTimer.scheduleTask(Runnable task,
long delay,
long period,
boolean inHandler)
Schedules the specified task for repeated execution with the specified
initial delay.
|
Modifier and Type | Method and Description |
---|---|
ITimerTask |
DefaultTimer.schedule(Runnable task,
long delay) |
ITimerTask |
ITimer.schedule(Runnable task,
long delay)
Schedules the specified task for execution after the specified delay.
|
ITimerTask |
DefaultTimer.schedule(Runnable task,
long delay,
long period)
Schedules the specified task for repeated execution with the specified
initial delay.
|
ITimerTask |
ITimer.schedule(Runnable task,
long delay,
long period)
Schedules the specified task for repeated execution with the specified
initial delay.
|
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.