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
channel
ChannelBase
The channel to use to make remote calls.
LicenseServerClient(CallInvoker)
Creates a new client for LicenseServer that uses a custom CallInvoker
.
Parameters
callInvoker
CallInvoker
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
configuration
ClientBase.ClientBaseConfiguration
The client configuration.
Methods
ActivateLicense(ActivateLicenseRequest, Metadata, DateTime?, CancellationToken)
License Activation
Parameters
The request to send to the server.
headers
Metadata
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
The response received from the server.
ActivateLicense(ActivateLicenseRequest, CallOptions)
License Activation
Parameters
The request to send to the server.
options
CallOptions
The options for the call.
Returns
The response received from the server.
ActivateLicenseAsync(ActivateLicenseRequest, Metadata, DateTime?, CancellationToken)
License Activation
Parameters
The request to send to the server.
headers
Metadata
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
The call object.
ActivateLicenseAsync(ActivateLicenseRequest, CallOptions)
License Activation
Parameters
The request to send to the server.
options
CallOptions
The options for the call.
Returns
The call object.
DeactivateLicense(DeactivateLicenseRequest, Metadata, DateTime?, CancellationToken)
Parameters
headers
Metadata
Returns
DeactivateLicense(DeactivateLicenseRequest, CallOptions)
Parameters
options
CallOptions
Returns
DeactivateLicenseAsync(DeactivateLicenseRequest, Metadata, DateTime?, CancellationToken)
Parameters
headers
Metadata
Returns
DeactivateLicenseAsync(DeactivateLicenseRequest, CallOptions)
Parameters
options
CallOptions
Returns
GetLicenseInfo(LicenseInfoRequest, Metadata, DateTime?, CancellationToken)
License Information
Parameters
The request to send to the server.
headers
Metadata
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
The response received from the server.
GetLicenseInfo(LicenseInfoRequest, CallOptions)
License Information
Parameters
The request to send to the server.
options
CallOptions
The options for the call.
Returns
The response received from the server.
GetLicenseInfoAsync(LicenseInfoRequest, Metadata, DateTime?, CancellationToken)
License Information
Parameters
The request to send to the server.
headers
Metadata
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
The call object.
GetLicenseInfoAsync(LicenseInfoRequest, CallOptions)
License Information
Parameters
The request to send to the server.
options
CallOptions
The options for the call.
Returns
The call object.
Heartbeat(HeartbeatRequest, Metadata, DateTime?, CancellationToken)
Parameters
headers
Metadata
Returns
Heartbeat(HeartbeatRequest, CallOptions)
Parameters
options
CallOptions
Returns
HeartbeatAsync(HeartbeatRequest, Metadata, DateTime?, CancellationToken)
Parameters
headers
Metadata
Returns
HeartbeatAsync(HeartbeatRequest, CallOptions)
Parameters
options
CallOptions
Returns
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameters
configuration
ClientBase.ClientBaseConfiguration
Returns
ReleaseLicense(ReleaseLicenseRequest, Metadata, DateTime?, CancellationToken)
Parameters
headers
Metadata
Returns
ReleaseLicense(ReleaseLicenseRequest, CallOptions)
Parameters
options
CallOptions
Returns
ReleaseLicenseAsync(ReleaseLicenseRequest, Metadata, DateTime?, CancellationToken)
Parameters
headers
Metadata
Returns
ReleaseLicenseAsync(ReleaseLicenseRequest, CallOptions)
Parameters
options
CallOptions
Returns
RequestLicense(RequestLicenseRequest, Metadata, DateTime?, CancellationToken)
Floating License
Parameters
The request to send to the server.
headers
Metadata
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
The response received from the server.
RequestLicense(RequestLicenseRequest, CallOptions)
Floating License
Parameters
The request to send to the server.
options
CallOptions
The options for the call.
Returns
The response received from the server.
RequestLicenseAsync(RequestLicenseRequest, Metadata, DateTime?, CancellationToken)
Floating License
Parameters
The request to send to the server.
headers
Metadata
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
The call object.
RequestLicenseAsync(RequestLicenseRequest, CallOptions)
Floating License
Parameters
The request to send to the server.
options
CallOptions
The options for the call.
Returns
The call object.
ValidateLicense(ValidateLicenseRequest, Metadata, DateTime?, CancellationToken)
License Validation
Parameters
The request to send to the server.
headers
Metadata
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
The response received from the server.
ValidateLicense(ValidateLicenseRequest, CallOptions)
License Validation
Parameters
The request to send to the server.
options
CallOptions
The options for the call.
Returns
The response received from the server.
ValidateLicenseAsync(ValidateLicenseRequest, Metadata, DateTime?, CancellationToken)
License Validation
Parameters
The request to send to the server.
headers
Metadata
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
The call object.
ValidateLicenseAsync(ValidateLicenseRequest, CallOptions)
License Validation
Parameters
The request to send to the server.
options
CallOptions
The options for the call.
Returns
The call object.
Last updated