YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
org.fourthline.cling.model.ExpirationDetails Class Reference
Collaboration diagram for org.fourthline.cling.model.ExpirationDetails:
Collaboration graph

Public Member Functions

 ExpirationDetails (int maxAgeSeconds)
 
int getMaxAgeSeconds ()
 
long getLastRefreshTimestampSeconds ()
 
void setLastRefreshTimestampSeconds (long lastRefreshTimestampSeconds)
 
void stampLastRefresh ()
 
boolean hasExpired ()
 
boolean hasExpired (boolean halfTime)
 
long getSecondsUntilExpiration ()
 
String toString ()
 

Static Public Attributes

static final int UNLIMITED_AGE = 0
 

Protected Member Functions

long getCurrentTimestampSeconds ()
 

Detailed Description

Author
Christian Bauer

Member Function Documentation

◆ hasExpired()

boolean org.fourthline.cling.model.ExpirationDetails.hasExpired ( boolean  halfTime)
Parameters
halfTimeIf true then half maximum age is used to determine expiration.
Returns
true if the maximum age has been reached.

The documentation for this class was generated from the following file: