LicenseServer.LicenseServerClient
Namespace: Babel.Licensing.Service Assembly: Babel.Licensing.dll
Client for LicenseServer
Inheritance
object ← ClientBase ← ClientBase<LicenseServer.LicenseServerClient> ← LicenseServer.LicenseServerClient
Inherited Members
ClientBase<LicenseServer.LicenseServerClient>.WithHost(string), ClientBase<LicenseServer.LicenseServerClient>.NewInstance(ClientBase.ClientBaseConfiguration), ClientBase.CallInvoker, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
LicenseServerClient(ChannelBase)
Creates a new client for LicenseServer
Parameters
Name | Description |
---|---|
| The channel to use to make remote calls. |
LicenseServerClient(CallInvoker)
Creates a new client for LicenseServer that uses a custom CallInvoker
.
Parameters
Name | Description |
---|---|
| The callInvoker to use to make remote calls. |
LicenseServerClient()
Protected parameterless constructor to allow creation of test doubles.
LicenseServerClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Parameters
Name | Description |
---|---|
| The client configuration. |
Methods
ActivateLicense(ActivateLicenseRequest, Metadata, DateTime?, CancellationToken)
License Activation
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The initial metadata to send with the call. This parameter is optional. |
| An optional deadline for the call. The call will be cancelled if deadline is hit. |
| An optional token for canceling the call. |
Returns
Name | Description |
---|---|
The response received from the server. |
ActivateLicense(ActivateLicenseRequest, CallOptions)
License Activation
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The options for the call. |
Returns
Name | Description |
---|---|
The response received from the server. |
ActivateLicenseAsync(ActivateLicenseRequest, Metadata, DateTime?, CancellationToken)
License Activation
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The initial metadata to send with the call. This parameter is optional. |
| An optional deadline for the call. The call will be cancelled if deadline is hit. |
| An optional token for canceling the call. |
Returns
Name | Description |
---|---|
AsyncUnaryCall<ActivateLicenseResponse> | The call object. |
ActivateLicenseAsync(ActivateLicenseRequest, CallOptions)
License Activation
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The options for the call. |
Returns
Name | Description |
---|---|
AsyncUnaryCall<ActivateLicenseResponse> | The call object. |
DeactivateLicense(DeactivateLicenseRequest, Metadata, DateTime?, CancellationToken)
Parameters
Name | Description |
---|---|
| |
| |
| |
|
Returns
Name | Description |
---|---|
DeactivateLicense(DeactivateLicenseRequest, CallOptions)
Parameters
Name | Description |
---|---|
| |
|
Returns
Name | Description |
---|---|
DeactivateLicenseAsync(DeactivateLicenseRequest, Metadata, DateTime?, CancellationToken)
Parameters
Name | Description |
---|---|
| |
| |
| |
|
Returns
Name | Description |
---|---|
AsyncUnaryCall<DeactivateLicenseResponse> |
DeactivateLicenseAsync(DeactivateLicenseRequest, CallOptions)
Parameters
Name | Description |
---|---|
| |
|
Returns
Name | Description |
---|---|
AsyncUnaryCall<DeactivateLicenseResponse> |
GetLicenseInfo(LicenseInfoRequest, Metadata, DateTime?, CancellationToken)
License Information
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The initial metadata to send with the call. This parameter is optional. |
| An optional deadline for the call. The call will be cancelled if deadline is hit. |
| An optional token for canceling the call. |
Returns
Name | Description |
---|---|
The response received from the server. |
GetLicenseInfo(LicenseInfoRequest, CallOptions)
License Information
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The options for the call. |
Returns
Name | Description |
---|---|
The response received from the server. |
GetLicenseInfoAsync(LicenseInfoRequest, Metadata, DateTime?, CancellationToken)
License Information
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The initial metadata to send with the call. This parameter is optional. |
| An optional deadline for the call. The call will be cancelled if deadline is hit. |
| An optional token for canceling the call. |
Returns
Name | Description |
---|---|
AsyncUnaryCall<LicenseInfoResponse> | The call object. |
GetLicenseInfoAsync(LicenseInfoRequest, CallOptions)
License Information
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The options for the call. |
Returns
Name | Description |
---|---|
AsyncUnaryCall<LicenseInfoResponse> | The call object. |
Heartbeat(HeartbeatRequest, Metadata, DateTime?, CancellationToken)
Parameters
Name | Description |
---|---|
| |
| |
| |
|
Returns
Name | Description |
---|---|
Heartbeat(HeartbeatRequest, CallOptions)
Parameters
Name | Description |
---|---|
| |
|
Returns
Name | Description |
---|---|
HeartbeatAsync(HeartbeatRequest, Metadata, DateTime?, CancellationToken)
Parameters
Name | Description |
---|---|
| |
| |
| |
|
Returns
Name | Description |
---|---|
AsyncUnaryCall<HeartbeatResponse> |
HeartbeatAsync(HeartbeatRequest, CallOptions)
Parameters
Name | Description |
---|---|
| |
|
Returns
Name | Description |
---|---|
AsyncUnaryCall<HeartbeatResponse> |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameters
Name | Description |
---|---|
|
Returns
Name | Description |
---|---|
ReleaseLicense(ReleaseLicenseRequest, Metadata, DateTime?, CancellationToken)
Parameters
Name | Description |
---|---|
| |
| |
| |
|
Returns
Name | Description |
---|---|
ReleaseLicense(ReleaseLicenseRequest, CallOptions)
Parameters
Name | Description |
---|---|
| |
|
Returns
Name | Description |
---|---|
ReleaseLicenseAsync(ReleaseLicenseRequest, Metadata, DateTime?, CancellationToken)
Parameters
Name | Description |
---|---|
| |
| |
| |
|
Returns
Name | Description |
---|---|
AsyncUnaryCall<ReleaseLicenseResponse> |
ReleaseLicenseAsync(ReleaseLicenseRequest, CallOptions)
Parameters
Name | Description |
---|---|
| |
|
Returns
Name | Description |
---|---|
AsyncUnaryCall<ReleaseLicenseResponse> |
RequestLicense(RequestLicenseRequest, Metadata, DateTime?, CancellationToken)
Floating License
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The initial metadata to send with the call. This parameter is optional. |
| An optional deadline for the call. The call will be cancelled if deadline is hit. |
| An optional token for canceling the call. |
Returns
Name | Description |
---|---|
The response received from the server. |
RequestLicense(RequestLicenseRequest, CallOptions)
Floating License
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The options for the call. |
Returns
Name | Description |
---|---|
The response received from the server. |
RequestLicenseAsync(RequestLicenseRequest, Metadata, DateTime?, CancellationToken)
Floating License
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The initial metadata to send with the call. This parameter is optional. |
| An optional deadline for the call. The call will be cancelled if deadline is hit. |
| An optional token for canceling the call. |
Returns
Name | Description |
---|---|
AsyncUnaryCall<RequestLicenseResponse> | The call object. |
RequestLicenseAsync(RequestLicenseRequest, CallOptions)
Floating License
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The options for the call. |
Returns
Name | Description |
---|---|
AsyncUnaryCall<RequestLicenseResponse> | The call object. |
ValidateLicense(ValidateLicenseRequest, Metadata, DateTime?, CancellationToken)
License Validation
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The initial metadata to send with the call. This parameter is optional. |
| An optional deadline for the call. The call will be cancelled if deadline is hit. |
| An optional token for canceling the call. |
Returns
Name | Description |
---|---|
The response received from the server. |
ValidateLicense(ValidateLicenseRequest, CallOptions)
License Validation
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The options for the call. |
Returns
Name | Description |
---|---|
The response received from the server. |
ValidateLicenseAsync(ValidateLicenseRequest, Metadata, DateTime?, CancellationToken)
License Validation
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The initial metadata to send with the call. This parameter is optional. |
| An optional deadline for the call. The call will be cancelled if deadline is hit. |
| An optional token for canceling the call. |
Returns
Name | Description |
---|---|
AsyncUnaryCall<ValidateLicenseResponse> | The call object. |
ValidateLicenseAsync(ValidateLicenseRequest, CallOptions)
License Validation
Parameters
Name | Description |
---|---|
| The request to send to the server. |
| The options for the call. |
Returns
Name | Description |
---|---|
AsyncUnaryCall<ValidateLicenseResponse> | The call object. |
Last updated