Interface LicenseManagementServiceGrpc.AsyncService (0.50.0)

public static interface LicenseManagementServiceGrpc.AsyncService

Service for managing licenses.

Methods

assign(AssignRequest request, StreamObserver<AssignResponse> responseObserver)

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

Assigns a license to a user.

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

enumerateLicensedUsers(EnumerateLicensedUsersRequest request, StreamObserver<EnumerateLicensedUsersResponse> responseObserver)

public default 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 default 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 default 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 default 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>