public class InactivityTimer extends Object
Constructor and Description |
---|
InactivityTimer(int timeout)
Create an InactivityTimer instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addReturnToLoginListener(ReturnToLoginListener listener)
Register a listener.
|
void |
removeReturnToLoginListener(ReturnToLoginListener listener)
Deregister a listener
|
void |
start()
Stop the timer.
|
void |
stop() |
public InactivityTimer(int timeout)
timeout
- public void addReturnToLoginListener(ReturnToLoginListener listener)
listener
- public void removeReturnToLoginListener(ReturnToLoginListener listener)
listener
- public void start()
public void stop()
Copyright © 2021. All rights reserved.