com.jp.protection.pub.pro.lserver
Class LicensingServiceResultImpl.LicenseResultImpl

java.lang.Object
  extended by com.jp.protection.pub.pro.lserver.LicensingServiceResultImpl
      extended by com.jp.protection.pub.pro.lserver.LicensingServiceResultImpl.LicenseResultImpl
All Implemented Interfaces:
LicensingServiceResult, LicensingServiceResult.LicenseResult, java.io.Serializable
Enclosing class:
LicensingServiceResultImpl

public static class LicensingServiceResultImpl.LicenseResultImpl
extends LicensingServiceResultImpl
implements LicensingServiceResult.LicenseResult

Default implementation of the LicenseResult interface

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jp.protection.pub.pro.lserver.LicensingServiceResultImpl
LicensingServiceResultImpl.CheckoutResultImpl, LicensingServiceResultImpl.LicenseResultImpl
 
Nested classes/interfaces inherited from interface com.jp.protection.pub.pro.lserver.LicensingServiceResult
LicensingServiceResult.CheckoutResult, LicensingServiceResult.ErrorCode, LicensingServiceResult.LicenseResult
 
Field Summary
protected  LicenseData.Response fResponse
           
 
Fields inherited from class com.jp.protection.pub.pro.lserver.LicensingServiceResultImpl
fErrorCode, fMessage, fResult, fTicket, properties, serialVersionUID
 
Fields inherited from interface com.jp.protection.pub.pro.lserver.LicensingServiceResult
PROPERTY_CPU_LIMIT, PROPERTY_CPU_USAGE, PROPERTY_MEMORY_LIMIT, PROPERTY_MEMORY_USAGE, PROPERTY_MESSAGE, PROPERTY_RESULT, PROPERTY_TICKET, PROPERTY_USAGE_COUNT, PROPERTY_USAGE_LIMIT, RESULT_ERROR, RESULT_LICENSE_REVOKED, RESULT_OK, RESULT_SESSION_EXPIRED, RESULT_SYSTEM_ERROR
 
Constructor Summary
LicensingServiceResultImpl.LicenseResultImpl(int aResult, java.lang.String aMessage)
          Creates a new instance if the LicenseResultImpl
LicensingServiceResultImpl.LicenseResultImpl(LicenseData.Response aResponse, int aResult, java.lang.String aMessage)
          Creates a new instance if the LicenseResultImpl
 
Method Summary
 LicenseData.Response getResponse()
          Returns response object
 void setResponse(LicenseData.Response aResponse)
          Specifies response object
 
Methods inherited from class com.jp.protection.pub.pro.lserver.LicensingServiceResultImpl
getErrorCode, getMessage, getProperties, getResult, getResultStr, getTicket, setErrorCode, setMessage, setProperties, setResult, setTicket, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jp.protection.pub.pro.lserver.LicensingServiceResult
getErrorCode, getMessage, getProperties, getResult, getTicket
 

Field Detail

fResponse

protected LicenseData.Response fResponse
Constructor Detail

LicensingServiceResultImpl.LicenseResultImpl

public LicensingServiceResultImpl.LicenseResultImpl(int aResult,
                                                    java.lang.String aMessage)
Creates a new instance if the LicenseResultImpl

Parameters:
aResult - result code
aMessage - message text

LicensingServiceResultImpl.LicenseResultImpl

public LicensingServiceResultImpl.LicenseResultImpl(LicenseData.Response aResponse,
                                                    int aResult,
                                                    java.lang.String aMessage)
Creates a new instance if the LicenseResultImpl

Parameters:
aResponse - response object
aResult - result code
aMessage - message text
Method Detail

getResponse

public LicenseData.Response getResponse()
Description copied from interface: LicensingServiceResult.LicenseResult
Returns response object

Specified by:
getResponse in interface LicensingServiceResult.LicenseResult
Returns:
response object

setResponse

public void setResponse(LicenseData.Response aResponse)
Specifies response object

Parameters:
aResponse - response object to set