Class StreamingServiceGrpc.StreamingServiceBlockingStub (0.10.0)

public static final class StreamingServiceGrpc.StreamingServiceBlockingStub extends AbstractBlockingStub<StreamingServiceGrpc.StreamingServiceBlockingStub>

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

Streaming service for receiving and sending packets.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > StreamingServiceGrpc.StreamingServiceBlockingStub

Methods

acquireLease(AcquireLeaseRequest request)

public Lease acquireLease(AcquireLeaseRequest request)

AcquireLease acquires a lease.

Parameter
Name Description
request AcquireLeaseRequest
Returns
Type Description
Lease

build(Channel channel, CallOptions callOptions)

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

releaseLease(ReleaseLeaseRequest request)

public ReleaseLeaseResponse releaseLease(ReleaseLeaseRequest request)

RleaseLease releases a lease.

Parameter
Name Description
request ReleaseLeaseRequest
Returns
Type Description
ReleaseLeaseResponse

renewLease(RenewLeaseRequest request)

public Lease renewLease(RenewLeaseRequest request)

RenewLease renews a lease.

Parameter
Name Description
request RenewLeaseRequest
Returns
Type Description
Lease