public final class StreamingServiceGrpcStreaming service for receiving and sending packets.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME| Field Value | |
|---|---|
| Type | Description |
String |
|
Static Methods
bindService(StreamingServiceGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(StreamingServiceGrpc.AsyncService service)| Parameter | |
|---|---|
| Name | Description |
service |
StreamingServiceGrpc.AsyncService |
| Returns | |
|---|---|
| Type | Description |
io.grpc.ServerServiceDefinition |
|
getAcquireLeaseMethod()
public static MethodDescriptor<AcquireLeaseRequest,Lease> getAcquireLeaseMethod()| Returns | |
|---|---|
| Type | Description |
io.grpc.MethodDescriptor<AcquireLeaseRequest,Lease> |
|
getReceiveEventsMethod()
public static MethodDescriptor<ReceiveEventsRequest,ReceiveEventsResponse> getReceiveEventsMethod()| Returns | |
|---|---|
| Type | Description |
io.grpc.MethodDescriptor<ReceiveEventsRequest,ReceiveEventsResponse> |
|
getReceivePacketsMethod()
public static MethodDescriptor<ReceivePacketsRequest,ReceivePacketsResponse> getReceivePacketsMethod()| Returns | |
|---|---|
| Type | Description |
io.grpc.MethodDescriptor<ReceivePacketsRequest,ReceivePacketsResponse> |
|
getReleaseLeaseMethod()
public static MethodDescriptor<ReleaseLeaseRequest,ReleaseLeaseResponse> getReleaseLeaseMethod()| Returns | |
|---|---|
| Type | Description |
io.grpc.MethodDescriptor<ReleaseLeaseRequest,ReleaseLeaseResponse> |
|
getRenewLeaseMethod()
public static MethodDescriptor<RenewLeaseRequest,Lease> getRenewLeaseMethod()| Returns | |
|---|---|
| Type | Description |
io.grpc.MethodDescriptor<RenewLeaseRequest,Lease> |
|
getSendPacketsMethod()
public static MethodDescriptor<SendPacketsRequest,SendPacketsResponse> getSendPacketsMethod()| Returns | |
|---|---|
| Type | Description |
io.grpc.MethodDescriptor<SendPacketsRequest,SendPacketsResponse> |
|
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()| Returns | |
|---|---|
| Type | Description |
io.grpc.ServiceDescriptor |
|
newBlockingStub(Channel channel)
public static StreamingServiceGrpc.StreamingServiceBlockingStub newBlockingStub(Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the service
| Parameter | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
| Returns | |
|---|---|
| Type | Description |
StreamingServiceGrpc.StreamingServiceBlockingStub |
|
newBlockingV2Stub(Channel channel)
public static StreamingServiceGrpc.StreamingServiceBlockingV2Stub newBlockingV2Stub(Channel channel)Creates a new blocking-style stub that supports all types of calls on the service
| Parameter | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
| Returns | |
|---|---|
| Type | Description |
StreamingServiceGrpc.StreamingServiceBlockingV2Stub |
|
newFutureStub(Channel channel)
public static StreamingServiceGrpc.StreamingServiceFutureStub newFutureStub(Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the service
| Parameter | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
| Returns | |
|---|---|
| Type | Description |
StreamingServiceGrpc.StreamingServiceFutureStub |
|
newStub(Channel channel)
public static StreamingServiceGrpc.StreamingServiceStub newStub(Channel channel)Creates a new async stub that supports all call types for the service
| Parameter | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
| Returns | |
|---|---|
| Type | Description |
StreamingServiceGrpc.StreamingServiceStub |
|