com.adobe.flashaccess.sdk.protocol
Interface ClientState


public interface ClientState

Client state information included in a request. This information can be used by the server to detect tampering on the client.


Method Summary
 long getCounter()
          Gets the current value of the client state counter.
 String getTimeZoneId()
          Gets the client's timezone as an offset from GMT (does not reflect changes due to daylight savings time).
 void incrementCounter()
          Increments the client state counter.
 

Method Detail

getTimeZoneId

String getTimeZoneId()
Gets the client's timezone as an offset from GMT (does not reflect changes due to daylight savings time). The format of this string follows the java.util.TimeZone custom time zone identifier. This string can be used to construct a java.util.TimeZone.

Returns:
An identifier for the client's time zone.

getCounter

long getCounter()

Gets the current value of the client state counter. If the server depends on client state for enforcement of any policies (for example, the client stores the playback start time to enforce the playback window restriction), it is highly recommended that the server store the counter value along with a machine identifier and check the counter during each request:

Returns:
The rollback counter.

incrementCounter

void incrementCounter()
Increments the client state counter.

See Also:
ClientState.getCounter()


[an error occurred while processing this directive] [an error occurred while processing this directive]