Class LicenseManagementServiceGrpc.LicenseManagementServiceStub (0.56.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
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

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