|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.flashaccess.sdk.protocol.ServerConfigData
public class ServerConfigData
Global server configuration data. This configuration information is sent to the client to control how the client should behave when tampering or clock windback have been detected.
Nested Class Summary | |
---|---|
static class |
ServerConfigData.TamperBehavior
Specifies how the client should behave if tampering is detected with the license store. |
Constructor Summary | |
---|---|
ServerConfigData()
Creates a ServerConfig object with version 1 and default options. |
Method Summary | |
---|---|
long |
getMaxClockWindback()
Retrieves the maximum clock windback allowed on the client in seconds. |
ServerConfigData.TamperBehavior |
getTamperBehavior()
Retrieves information on how the client should behave if tampering with the license store is detected. |
int |
getVersion()
Retrieves the version of the server configuration data. |
void |
setMaxClockWindback(long seconds)
Sets the maximum clock windback allowed on the client in seconds. |
void |
setTamperBehavior(ServerConfigData.TamperBehavior tamperBehavior)
Sets how the client should behave if tampering with the license store is detected. |
void |
setVersion(int version)
Sets the version of the server configuration data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerConfigData()
ServerConfig
object with version 1
and default options.
Method Detail |
---|
public int getVersion()
public void setVersion(int version)
version
- The version, which must be greater than or equal to the current version number.public long getMaxClockWindback()
0
for the default client windback restriction.public void setMaxClockWindback(long seconds)
seconds
- The maximum clock windback allowed on the client (seconds), or 0
for the default client windback restriction.public ServerConfigData.TamperBehavior getTamperBehavior()
public void setTamperBehavior(ServerConfigData.TamperBehavior tamperBehavior)
tamperBehavior
- The tamper behavior.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |