Class LicenseManagementServiceGrpc.LicenseManagementServiceStub (0.50.0)

public static final class LicenseManagementServiceGrpc.LicenseManagementServiceStub extends AbstractAsyncStub<LicenseManagementServiceGrpc.LicenseManagementServiceStub>

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

Service for managing licenses.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > LicenseManagementServiceGrpc.LicenseManagementServiceStub

Methods

assign(AssignRequest request, StreamObserver<AssignResponse> responseObserver)

public void assign(AssignRequest request, StreamObserver<AssignResponse> responseObserver)

Assigns a license to a user.

Parameters
Name Description
request AssignRequest
responseObserver io.grpc.stub.StreamObserver<AssignResponse>

build(Channel channel, CallOptions callOptions)

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

enumerateLicensedUsers(EnumerateLicensedUsersRequest request, StreamObserver<EnumerateLicensedUsersResponse> responseObserver)

public void enumerateLicensedUsers(EnumerateLicensedUsersRequest request, StreamObserver<EnumerateLicensedUsersResponse> responseObserver)

Enumerates all users assigned a license.

Parameters
Name Description
request EnumerateLicensedUsersRequest
responseObserver io.grpc.stub.StreamObserver<EnumerateLicensedUsersResponse>

getLicensePool(GetLicensePoolRequest request, StreamObserver<LicensePool> responseObserver)

public void getLicensePool(GetLicensePoolRequest request, StreamObserver<LicensePool> responseObserver)

Gets the license pool.

Parameters
Name Description
request GetLicensePoolRequest
responseObserver io.grpc.stub.StreamObserver<LicensePool>

unassign(UnassignRequest request, StreamObserver<UnassignResponse> responseObserver)

public void unassign(UnassignRequest request, StreamObserver<UnassignResponse> responseObserver)

Unassigns a license from a user.

Parameters
Name Description
request UnassignRequest
responseObserver io.grpc.stub.StreamObserver<UnassignResponse>

updateLicensePool(UpdateLicensePoolRequest request, StreamObserver<LicensePool> responseObserver)

public void updateLicensePool(UpdateLicensePoolRequest request, StreamObserver<LicensePool> responseObserver)

Updates the license pool if one exists for this Order.

Parameters
Name Description
request UpdateLicensePoolRequest
responseObserver io.grpc.stub.StreamObserver<LicensePool>