Class LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub (0.52.0)

public static final class LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub extends AbstractFutureStub<LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service LicenseManagementService.

Service for managing licenses.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub

Methods

assign(AssignRequest request)

public ListenableFuture<AssignResponse> assign(AssignRequest request)

Assigns a license to a user.

Parameter
Name Description
request AssignRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AssignResponse>

build(Channel channel, CallOptions callOptions)

protected LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

enumerateLicensedUsers(EnumerateLicensedUsersRequest request)

public ListenableFuture<EnumerateLicensedUsersResponse> enumerateLicensedUsers(EnumerateLicensedUsersRequest request)

Enumerates all users assigned a license.

Parameter
Name Description
request EnumerateLicensedUsersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<EnumerateLicensedUsersResponse>

getLicensePool(GetLicensePoolRequest request)

public ListenableFuture<LicensePool> getLicensePool(GetLicensePoolRequest request)

Gets the license pool.

Parameter
Name Description
request GetLicensePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LicensePool>

unassign(UnassignRequest request)

public ListenableFuture<UnassignResponse> unassign(UnassignRequest request)

Unassigns a license from a user.

Parameter
Name Description
request UnassignRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<UnassignResponse>

updateLicensePool(UpdateLicensePoolRequest request)

public ListenableFuture<LicensePool> updateLicensePool(UpdateLicensePoolRequest request)

Updates the license pool if one exists for this Order.

Parameter
Name Description
request UpdateLicensePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LicensePool>