Class LicenseManagementServiceGrpc.LicenseManagementServiceBlockingStub (0.52.0)

public static final class LicenseManagementServiceGrpc.LicenseManagementServiceBlockingStub extends AbstractBlockingStub<LicenseManagementServiceGrpc.LicenseManagementServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service LicenseManagementService.

Service for managing licenses.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > LicenseManagementServiceGrpc.LicenseManagementServiceBlockingStub

Methods

assign(AssignRequest request)

public AssignResponse assign(AssignRequest request)

Assigns a license to a user.

Parameter
Name Description
request AssignRequest
Returns
Type Description
AssignResponse

build(Channel channel, CallOptions callOptions)

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

enumerateLicensedUsers(EnumerateLicensedUsersRequest request)

public EnumerateLicensedUsersResponse enumerateLicensedUsers(EnumerateLicensedUsersRequest request)

Enumerates all users assigned a license.

Parameter
Name Description
request EnumerateLicensedUsersRequest
Returns
Type Description
EnumerateLicensedUsersResponse

getLicensePool(GetLicensePoolRequest request)

public LicensePool getLicensePool(GetLicensePoolRequest request)

Gets the license pool.

Parameter
Name Description
request GetLicensePoolRequest
Returns
Type Description
LicensePool

unassign(UnassignRequest request)

public UnassignResponse unassign(UnassignRequest request)

Unassigns a license from a user.

Parameter
Name Description
request UnassignRequest
Returns
Type Description
UnassignResponse

updateLicensePool(UpdateLicensePoolRequest request)

public LicensePool updateLicensePool(UpdateLicensePoolRequest request)

Updates the license pool if one exists for this Order.

Parameter
Name Description
request UpdateLicensePoolRequest
Returns
Type Description
LicensePool