|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.flashaccess.sdk.protocol.AbstractRequestMessage com.adobe.flashaccess.sdk.protocol.RequestMessageBase
public abstract class RequestMessageBase
This class contains a request message from the client.
Field Summary | |
---|---|
static int |
SERVER_CONFIG_NOT_PRESENT
Indicates that the server configuration data version was not sent in the request. |
Method Summary | |
---|---|
AuthenticationToken |
getAuthenticationToken()
Retrieves the authentication token sent by the client. |
ClientState |
getClientState()
Retrieves the client state information. |
MachineToken |
getMachineToken()
Retrieves the machine token for the machine requesting the license. |
byte[] |
getRawAuthenticationToken()
Retrieves the raw authentication token bytes sent by the client. |
int |
getServerConfigVersion()
Retrieves the version of the server configuration currently cached on client. |
Methods inherited from class com.adobe.flashaccess.sdk.protocol.AbstractRequestMessage |
---|
getClientLocale, getErrorData, getMessageId, setErrorData |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SERVER_CONFIG_NOT_PRESENT
Method Detail |
---|
public int getServerConfigVersion()
RequestMessageBase.SERVER_CONFIG_NOT_PRESENT
if
the version information was not included in the request.public ClientState getClientState()
null
if no state information was provided in the request.public AuthenticationToken getAuthenticationToken() throws InvalidAuthTokenException
null
if no token was provided.
InvalidAuthTokenException
- if the token is found to be invalid (the token is expired or has been tampered with).
UnknownAuthTokenFormatException
- if the token format is not recognized by the Flash Access SDK. Use
RequestMessageBase.getRawAuthenticationToken()
to retrieve custom authentication tokenspublic byte[] getRawAuthenticationToken()
null
if no token was provided.public MachineToken getMachineToken()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |