AP&C API Reference
|
Provides an embeddable proxy object to use in applications that want to leverage licensing. More...
Public Member Functions | |
LicensingClient (string managerUrl) | |
AcquisitionResponse | RequestLock (string contextId, LicensedFeatures feature) |
Requests a lock for the specified feature by self-determining the node identifier (encapsulating node identification). More... | |
AcquisitionResponse | RequestLock (string contextId, string[] nodeIds, LicensedFeatures feature) |
A convenience method for requesting one lock for one feature. More... | |
AcquisitionResponse | RequestLocks (AcquisitionRequest request) |
Requests locks for the features specified in request . More... | |
void | ReleaseAllVolatileLocks () |
Releases all volatile locks. More... | |
ReleaseResponse | ReleaseLock (string acquisitionId) |
Releases the lock. More... | |
void | ReleaseNonvolatileLocks (string contextId, string[] nodeIds, LicensedFeatures feature, int count) |
Releases the nonvolatile locks. More... | |
void | ReleaseNonvolatileLock (string contextId, string[] nodeIds, LicensedFeatures feature, int numLeasesHeld) |
Releases a single nonvolatile lock while auditing against the number of leases held. More... | |
int | RequestLockCount (string contextId, string[] nodeIds, LicensedFeatures feature) |
Requests the lock count for a given feature. More... | |
void | Dispose () |
Static Public Member Functions | |
static LicensingClient | CreateLicensingClient () |
Static Public Attributes | |
static readonly string | KeyManagerUrlSetting = "apac.licensing.url" |
Protected Member Functions | |
void | Dispose (bool disposing) |
Properties | |
IKeyManager | KeyManager [get] |
Gets the key manager. More... | |
Provides an embeddable proxy object to use in applications that want to leverage licensing.
|
inline |
Releases all volatile locks.
|
inline |
Releases the lock.
acquisitionId | The acquisition id used to obtain the lock. |
|
inline |
Releases a single nonvolatile lock while auditing against the number of leases held.
contextId | The context id. |
nodeId | The node id. |
feature | The feature. |
numLeasesHeld | The number of leases held by the client. |
|
inline |
Releases the nonvolatile locks.
contextId | The context id. |
nodeId | The node id. |
feature | The feature. |
count | The count. |
|
inline |
Requests a lock for the specified feature by self-determining the node identifier (encapsulating node identification).
contextId | The context identifier to use in the request. |
feature | The feature to use in the request. |
|
inline |
A convenience method for requesting one lock for one feature.
contextId | The context for the lock. |
nodeIds | The node ids for the lock. |
feature | The feature to be unlocked. |
|
inline |
Requests the lock count for a given feature.
contextId | The context id. |
nodeIds | The node ids. |
feature | The feature. |
|
inline |
Requests locks for the features specified in request .
request | The request. |
|
get |
Gets the key manager.
The key manager.