Class StreamingServiceGrpc (0.1.0)

public final class StreamingServiceGrpc

Streaming service for receiving and sending packets.

Inheritance

java.lang.Object > StreamingServiceGrpc

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

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